Skip to content

Commit

Permalink
[BUGFIX] Do not double-encode srcset URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
luzat committed Aug 29, 2018
1 parent ab4a37c commit 7c94b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Traits/SourceSetViewHelperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function addSourceSet($tag, $src)
$srcsetVariant = $this->getImgResource($src, $width, $format, $quality, $treatIdAsReference, null, $crop);

$srcsetVariantSrc = rawurldecode($srcsetVariant[3]);
$srcsetVariantSrc = static::preprocessSourceUri(GeneralUtility::rawUrlEncodeFP($srcsetVariantSrc), $this->arguments);
$srcsetVariantSrc = static::preprocessSourceUri($srcsetVariantSrc, $this->arguments);

$imageSources[$srcsetVariant[0]] = [
'src' => $srcsetVariantSrc,
Expand Down

0 comments on commit 7c94b15

Please sign in to comment.