Skip to content

Commit

Permalink
[security] Fixed issue #12270: XSS Vulnerability (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfavetti authored and Shnoulle committed Apr 18, 2017
1 parent a18bb1c commit faf3f18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/qanda_helper.php
Expand Up @@ -3200,6 +3200,7 @@ function do_numerical($ia)
$fValue = rtrim(rtrim($fValue,"0"),".");
}
$fValue = str_replace('.',$sSeparator,$fValue);
$fValue = htmlspecialchars($fValue);

if ($thissurvey['nokeyboard']=='Y')
{
Expand Down

0 comments on commit faf3f18

Please sign in to comment.