Skip to content

Commit

Permalink
Fix transformURI() on ignoreIndexDir & ! htmlEscape (ezsystems#1449)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
andrerom authored Dec 18, 2019
1 parent f29d4ae commit 5a39130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ezutils/classes/ezuri.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 5a39130

Please sign in to comment.