helloflask / flask-dropzone

Upload files in Flask application with Dropzone.js.
https://flask-dropzone.readthedocs.io
MIT License
250 stars 69 forks source link

Feature + documentation: Content Security Policy and CSRF token #40

Closed nitram2342 closed 4 years ago

nitram2342 commented 4 years ago

I worked on an existing application and fitted a CSP and CSRF afterwards. I thought about and tried different approaches and in the end, the simplest way was to just pass another parameter to configure. I made a pull request from my changes. Maybe it is useful to someone.

greyli commented 4 years ago

Merged, thank you!