Comments (5)
There is a problem with #143 that should be fixed first. The docs are currently not the most current version. Once they are updated to the newest version, then we should add this information you stated to the docs.
from django-csp.
checked the nonce.rst
the changes are already done but aren't reflected on ReadTheDocs.
from django-csp.
@Anv3sh Can you confirm that the relevant docs are now live on django-csp.readthedocs.io, please? If so, we can go ahead and close this.
from django-csp.
@Anv3sh Can you confirm that the relevant docs are now live on django-csp.readthedocs.io, please? If so, we can go ahead and close this.
Yes the relevant docs are live for this particular issue on django-csp.readthedocs.io:
from django-csp.
I agree as I tested this and it works for {{CSP_NONCE}}
and not for {{nonce}}
as the csp.context_processor.nonce
returns {'CSP_NONCE' : nonce}
.
from django-csp.
Related Issues (20)
- New release? HOT 11
- State of project HOT 9
- Unrecognized Content Security Policy directive 'worker-src' in Safari Browser HOT 2
- Building the wheel doesn't work HOT 4
- Backwards compatible method of adding 'strict-dynamic' as suffix HOT 1
- Don't include nonces in default-src when CSP_INCLUDE_NONCE_IN is unset / an empty list HOT 3
- Allow direct editing of build policy output HOT 1
- Deprecated Features HOT 5
- interested in adding typing (mypy) support? HOT 4
- Support clearing/unsetting directives via decorator HOT 7
- Support different sets of rules for paths like /admin HOT 8
- Move project to pyproject.toml HOT 1
- Create csp.extensions.NoncedStyle extension HOT 1
- Change import path to `django_csp` - breaking change HOT 1
- docs: Differentiate between "None" and `NONE` in directives
- [Beta] Report percentage cannot be smaller than 1% HOT 2
- When REPORT_PERCENTAGE is set to 100%, the `report-uri` directive is not always included in the CSP header HOT 2
- docs: Add that `REPORT_PERCENTAGE` requires the rate-limiting middleware in the configuration docs
- Add support for reporting endpoints headers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-csp.