From 9af62c4c73330e99393729cbf3d873a4307ed92c Mon Sep 17 00:00:00 2001 From: Claus Due Date: Mon, 22 Apr 2019 18:51:04 +0200 Subject: [PATCH] [BUGFIX] Remove call to deprecated method Close: #1570 --- Classes/Traits/SourceSetViewHelperTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Traits/SourceSetViewHelperTrait.php b/Classes/Traits/SourceSetViewHelperTrait.php index df3d17573..7d8913adf 100644 --- a/Classes/Traits/SourceSetViewHelperTrait.php +++ b/Classes/Traits/SourceSetViewHelperTrait.php @@ -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(str_replace('%2F', '/', rawurlencode($srcsetVariantSrc)), $this->arguments); $imageSources[$srcsetVariant[0]] = [ 'src' => $srcsetVariantSrc,