htmlentities -> htmlspecialchars
This commit is contained in:
@@ -124,7 +124,7 @@ function getSolution($pid,$lang) {
|
||||
|
||||
function fixurl($img_url) {
|
||||
if(substr($img_url,0,4)=="data") return $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