nelmio / NelmioSecurityBundle

Adds extra security-related features in your Symfony application

Home Page:https://symfony.com/bundles/NelmioSecurityBundle/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symfony 4.4 LTS - Erreur CSP

HeLLsSs opened this issue · comments

Hi,

I have problem with this bundle on Symfony 4.4 :)

When i install, and configure it, i enabled CSP i have this error :

Attempted to load class "Twig_Extension" from the global namespace.
Did you forget a "use" statement?

After, if i modify the bundle, i have same error with Token ...

Some one can help me ? Do you know alternative at this bundle for Security ?

Thanks, have a nice day.

Hi,

Twig 3 support is added in #211. You did nothing wrong, you just have to wait for a new release of the bundle, or use Twig 2.

Fixed in version 2.9.0