We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 nonce csp to <style> and <script> tags in blade views.
<style>
<script>
Actually when I'm reaching my app, I've got CSP issues :
By adding nonce="{{ csp_nonce() }}" to those tags, everything works fine (tested locally on my side by overriding the concerned blade views)
nonce="{{ csp_nonce() }}"
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
The text was updated successfully, but these errors were encountered:
@bastos71 can you create a PR for this and explain what issue is is solving.
Sorry, something went wrong.
No branches or pull requests
Request
Add nonce csp to
<style>
and<script>
tags in blade views.Actually when I'm reaching my app, I've got CSP issues :
Solution
By adding
nonce="{{ csp_nonce() }}"
to those tags, everything works fine (tested locally on my side by overriding the concerned blade views)Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
The text was updated successfully, but these errors were encountered: