We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c1774 commit 76fd92bCopy full SHA for 76fd92b
app/code/Magento/UrlRewriteGraphQl/Model/Resolver/EntityUrl.php
@@ -64,6 +64,7 @@ public function resolve(
64
65
$storeId = (int)$context->getExtensionAttributes()->getStore()->getId();
66
$result = null;
67
+ // phpcs:ignore Magento2.Functions.DiscouragedFunction
68
$url = parse_url($args['url'], PHP_URL_PATH);
69
if (substr($url, 0, 1) === '/' && $url !== '/') {
70
$url = ltrim($url, '/');
0 commit comments