Skip to content

Commit 62c216c

Browse files
author
rani-webkul
committed
fixed File type custom option value not showing properly on wish list page #24319
fixed wishlist custom option download issue made required changes removed rootDirBasePath from constructor argument removed unnecessary arguments
1 parent ad44545 commit 62c216c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Wishlist/Block/Customer/Wishlist/Item/Options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function getConfiguredOptions()
114114
$option['value'][$key] = $this->escapeHtml($value);
115115
}
116116
} else {
117-
$option['value'] = $this->escapeHtml($option['value']);
117+
$option['value'] = $this->escapeHtml($option['value'], ["a"]);
118118
}
119119
}
120120
$options[$index]['value'] = $option['value'];

app/code/Magento/Wishlist/Controller/Index/DownloadCustomOption.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function execute()
9999
$this->_fileResponseFactory->create(
100100
$info['title'],
101101
['value' => $info['quote_path'], 'type' => 'filename'],
102-
DirectoryList::ROOT,
102+
DirectoryList::MEDIA,
103103
$info['type']
104104
);
105105
}

0 commit comments

Comments
 (0)