mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 00:14:40 +03:00
Fix XSS (thanks to Nick M)
This commit is contained in:
parent
cee8d096f5
commit
7251f587bc
@ -44,7 +44,7 @@ function get_useragent_version($userAgent)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $userAgent;
|
return safe_htmlspecialchars($userAgent);
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_user_addr($addr)
|
function get_user_addr($addr)
|
||||||
|
Loading…
Reference in New Issue
Block a user