Skip to content

Commit 660ca97

Browse files
committed
ACP2E-1801: Bundle products cannot be added to admin order by SKU which contains slashes
1 parent eb393f7 commit 660ca97

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Url.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Magento\Framework\App\ObjectManager;
1010
use Magento\Framework\Serialize\Serializer\Json;
1111
use Magento\Framework\Url\HostChecker;
12-
use phpDocumentor\Reflection\Types\False_;
1312

1413
/**
1514
* URL
@@ -1015,6 +1014,7 @@ public function escape($value)
10151014
if ($value === null) {
10161015
return '';
10171016
}
1017+
10181018
$value = str_replace('"', '%22', $value);
10191019
$value = str_replace("'", '%27', $value);
10201020
$value = str_replace('>', '%3E', $value);

0 commit comments

Comments
 (0)