htmlentities -> htmlspecialchars
This commit is contained in:
@@ -106,7 +106,7 @@ function getSolution($pid,$lang){
|
||||
return $ret;
|
||||
}
|
||||
function fixurl($img_url){
|
||||
$img_url= html_entity_decode( $img_url,ENT_QUOTES,"UTF-8");
|
||||
$img_url= htmlspecialchars_decode( $img_url,ENT_QUOTES,"UTF-8");
|
||||
|
||||
if (substr($img_url,0,4)!="http"){
|
||||
if(substr($img_url,0,1)=="/"){
|
||||
|
||||
Reference in New Issue
Block a user