Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SpoonLibrary expects the charset to be in lowercase, otherwise some x…
…ss protections fail
  • Loading branch information
carakas committed Aug 31, 2021
1 parent 2a9c05a commit c213063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Kernel.php
Expand Up @@ -80,7 +80,7 @@ public function defineForkConstants(): void
Spoon::setDebug($container->getParameter('kernel.debug'));
Spoon::setDebugEmail($container->getParameter('fork.debug_email'));
Spoon::setDebugMessage($container->getParameter('fork.debug_message'));
Spoon::setCharset($container->getParameter('kernel.charset'));
Spoon::setCharset(strtolower($container->getParameter('kernel.charset')));

/**
* @deprecated SPOON_* constants are deprecated in favour of Spoon::set*().
Expand Down

0 comments on commit c213063

Please sign in to comment.