Skip to content

Commit b99f81e

Browse files
committed
removing quotes from regex to restore media provisioning feature
1 parent 3ff3ea2 commit b99f81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/Config/Parser/Query/Media/MediaDirectiveFileParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class MediaDirectiveFileParser implements MediaFilesParserInterface
1515
*/
1616
public function execute(string $content): array
1717
{
18-
if (preg_match_all('/\{\{media url=\&quot\;(?P<path>.*?)\&quot\;\}\}/', $content, $matches)) {
18+
if (preg_match_all('/\{\{media url=(?P<path>.*?)\}\}/', $content, $matches)) {
1919
return $matches['path'];
2020
}
2121

0 commit comments

Comments
 (0)