Skip to content

Commit 5a39130

Browse files
authored
Fix transformURI() on ignoreIndexDir & ! htmlEscape (#1449)
* Fix transformURI() on ignoreIndexDir & ! htmlEscape Fix of issue introduced in 07de126 "Fix EZP-23086: Image thumbnail not shown on backend if alias contains quotes" when escaping was introduced. * Update ezuri.php
1 parent f29d4ae commit 5a39130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ezutils/classes/ezuri.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ public static function transformURI( &$href, $ignoreIndexDir = false, $serverURL
605605
$modifiedHref = eZClusterFileHandler::instance()->applyServerUri( $trimmedHref );
606606
if ( $modifiedHref != $trimmedHref )
607607
{
608-
$href = $htmlEscape ? self::escapeHtmlTransformUri( $href ) : $href;
608+
$href = $htmlEscape ? self::escapeHtmlTransformUri( $modifiedHref ) : $modifiedHref;
609609
return true;
610610
}
611611
unset( $modifiedHref );

0 commit comments

Comments
 (0)