Fix XSS (thanks to Nick M)

This commit is contained in:
Fedor A. Fetisov 2014-10-06 17:27:59 +04:00
parent cee8d096f5
commit 7251f587bc

View File

@ -44,7 +44,7 @@ function get_useragent_version($userAgent)
}
}
}
return $userAgent;
return safe_htmlspecialchars($userAgent);
}
function get_user_addr($addr)