mirror of
https://github.com/simonw/datasette.git
synced 2026-05-27 20:36:17 +02:00
- New CSRF protection middleware inspired by Go 1.25 and research by Filippo Valsorda - https://words.filippo.io/csrf/ - this replaces the old CSRF token based protection. - Removes all instances of `<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">` in the templates - they are no longer needed. - Removes the `def skip_csrf(datasette, scope):` plugin hook defined in `datasette/hookspecs.py` and its documentation and tests. - Updated CSRF protection documentation to describe the new approach. - Upgrade guide now describes the CSRF change. |
||
|---|---|---|
| .. | ||
| messages_output_renderer.py | ||
| my_plugin.py | ||
| my_plugin_2.py | ||
| register_output_renderer.py | ||
| sleep_sql_function.py | ||
| view_name.py | ||