mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 06:19:09 +01:00
url need to run throught htmlspecialchars too (like every attribute in html markup), eg. "x®_id=" fails otherwise
This commit is contained in:
parent
8996f45e9e
commit
697a113171
@ -1061,7 +1061,7 @@ class html
|
||||
$url = self::link($url,$vars);
|
||||
}
|
||||
//echo "<p>html::a_href('".htmlspecialchars($content)."','$url',".print_r($vars,True).") = ".self::link($url,$vars)."</p>";
|
||||
return '<a href="'.$url.'" '.$options.'>'.$content.'</a>';
|
||||
return '<a href="'.htmlspecialchars($url).'" '.$options.'>'.$content.'</a>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user