Skip to content

Commit a9d0097

Browse files
committed
Avoid double htmlspecialchars for links using Display::url
See 15023ce
1 parent 32d3d5d commit a9d0097

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

main/inc/lib/display.lib.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,6 @@ public static function url($name, $url, $attributes = [])
946946
{
947947
if (!empty($url)) {
948948
$url = preg_replace('#&#', '&', $url);
949-
$url = htmlspecialchars($url, ENT_QUOTES, 'UTF-8');
950949
$attributes['href'] = $url;
951950
}
952951

0 commit comments

Comments
 (0)