diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2017-09-17 22:24:05 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-09-20 16:22:18 -0400 |
| commit | c4c128d67c7dc2830631c6859a204c9d259f1fb1 (patch) | |
| tree | 769b7ee6671d25bd8496c2748193bf0a9bd0a46c /tests/csrf_tests/csrf_token_error_handler_urls.py | |
| parent | 77f82c4bf1565b074d12b1531caa4bc4f4b89506 (diff) | |
Fixed #28488 -- Reallowed error handlers to access CSRF tokens.
Regression in eef95ea96faef0b7dbbe0c8092202b74f68a899b.
Diffstat (limited to 'tests/csrf_tests/csrf_token_error_handler_urls.py')
| -rw-r--r-- | tests/csrf_tests/csrf_token_error_handler_urls.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/csrf_tests/csrf_token_error_handler_urls.py b/tests/csrf_tests/csrf_token_error_handler_urls.py new file mode 100644 index 0000000000..3c02f613ec --- /dev/null +++ b/tests/csrf_tests/csrf_token_error_handler_urls.py @@ -0,0 +1,3 @@ +urlpatterns = [] + +handler404 = 'csrf_tests.views.csrf_token_error_handler' |
