Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #7 from lacaulac/patch-2
Browse files Browse the repository at this point in the history
Fixed an XSS vulnerability
  • Loading branch information
Chris92de committed Oct 4, 2020
2 parents 9a45087 + 6a61568 commit 3ed17da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/core/adminserv.php
Expand Up @@ -72,7 +72,7 @@ public static function error($text = null){
$_SESSION['error'] = $text;
}
public static function info($text){
$_SESSION['info'] = $text;
$_SESSION['info'] = htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
}


Expand Down

0 comments on commit 3ed17da

Please sign in to comment.