nelmio / NelmioSecurityBundle

Adds extra security-related features in your Symfony application
https://symfony.com/bundles/NelmioSecurityBundle/
MIT License
649 stars 82 forks source link

Issue with CSP config #317

Open yellow1912 opened 1 year ago

yellow1912 commented 1 year ago

Thanks for all the work you have put into this. I'm experimenting with this lib on the latest sf6 and running into the following issue

You have requested a non-existent parameter "router.request_context.base_url".

Seldaek commented 1 year ago

Not sure in which context you are seeing this, but this parameter should definitely be available when running a request.

Did you find a way to resolve this?

yellow1912 commented 1 year ago

Hello I definitely found a way to get around this but I don't remember how. I will recheck and post my finding here.