-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add data: uris #16
Comments
This has always been possible from JSON, but in the next release you can just do this: $cspBuilder->setDataAllowed('img-src', true); |
Is there documentation on how to do it via JSON? I couldn't seem to find anything hence why I raised the issue. |
It's in the example:
|
I'm blind. Sorry. |
No problem at all. Thank you for reporting the issue in the first place, it made me aware of a usability oversight that I hadn't considered previously, so it made CSP-Builder better. :) |
Not sure if this is possible or not but is there a way to allow additional schemes? Either by an additional class method or via a json config.
The text was updated successfully, but these errors were encountered: