mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 20:34:20 +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
709ecc35d7
commit
5ca774e85a
@ -1147,7 +1147,7 @@ class html
|
|||||||
$url = self::link($url,$vars);
|
$url = self::link($url,$vars);
|
||||||
}
|
}
|
||||||
//echo "<p>html::a_href('".htmlspecialchars($content)."','$url',".print_r($vars,True).") = ".self::link($url,$vars)."</p>";
|
//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