Prevent XSS attacks

This commit is contained in:
grandeljay 2023-01-28 16:39:43 +01:00
parent c13e5d38c9
commit 3414e6c51e

View file

@ -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