Prevent XSS attacks
This commit is contained in:
parent
c13e5d38c9
commit
3414e6c51e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class Sanitiser
|
|||
{
|
||||
public static function render(string $text): string
|
||||
{
|
||||
return html_entity_decode($text, ENT_HTML5 | ENT_QUOTES);
|
||||
return $text;
|
||||
}
|
||||
|
||||
public static function getNumber(mixed $valueToSanitise): float
|
||||
|
|
Loading…
Reference in a new issue