Skip to content
Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1822 from GENI-NSF/hussamnasir-xssvul1_fix
Update error-text.php
  • Loading branch information
hussamnasir committed Jan 29, 2020
2 parents 51b12a1 + ff3a92c commit c2356cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portal/www/portal/error-text.php
Expand Up @@ -44,7 +44,7 @@
$error_text = urldecode($_GET["error"]);
// error_log("ET = " . $error_text);
// if ($system_error) {
$error_text = htmlentities($error_text);
$error_text = htmlentities($error_text, ENT_QUOTES | ENT_HTML5, $encoding = 'UTF-8');
// }
echo "<p class='warn'>" . $error_text . "</p><br/>\n";
} else {
Expand Down

0 comments on commit c2356cc

Please sign in to comment.