Skip to content

Commit 9cfb808

Browse files
Elfe-Vendoratinect
andauthored
feat: keep @ sign for urls (#166)
Co-authored-by: tinect <[email protected]>
1 parent 666b83c commit 9cfb808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storefront/Framework/Twig/Extension/UrlEncodingTwigFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ public function encodeUrl(?string $mediaUrl): ?string
1717
}
1818

1919
// this adds support for imgproxy with the procession options coming with version 3.0
20-
return \str_replace('%3A', ':', $mediaUrl);
20+
return \str_replace(['%40', '%3A'], ['@', ':'], $mediaUrl);
2121
}
2222
}

0 commit comments

Comments
 (0)