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 );