From 5a391309cb71d180eed32603e352cea17bc9095d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R?= Date: Wed, 18 Dec 2019 13:53:22 +0100 Subject: [PATCH] Fix transformURI() on ignoreIndexDir & ! htmlEscape (#1449) * Fix transformURI() on ignoreIndexDir & ! htmlEscape Fix of issue introduced in 07de12622320c4648dd03d20647ac012a1411d90 "Fix EZP-23086: Image thumbnail not shown on backend if alias contains quotes" when escaping was introduced. * Update ezuri.php --- lib/ezutils/classes/ezuri.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ezutils/classes/ezuri.php b/lib/ezutils/classes/ezuri.php index 1bb94ee18cf..c2b1993a63e 100644 --- a/lib/ezutils/classes/ezuri.php +++ b/lib/ezutils/classes/ezuri.php @@ -605,7 +605,7 @@ public static function transformURI( &$href, $ignoreIndexDir = false, $serverURL $modifiedHref = eZClusterFileHandler::instance()->applyServerUri( $trimmedHref ); if ( $modifiedHref != $trimmedHref ) { - $href = $htmlEscape ? self::escapeHtmlTransformUri( $href ) : $href; + $href = $htmlEscape ? self::escapeHtmlTransformUri( $modifiedHref ) : $modifiedHref; return true; } unset( $modifiedHref );