-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
Anonymous CSRF cookie fix, test fixes, and ANON_ALWAYS cleanup #11
base: master
Are you sure you want to change the base?
Anonymous CSRF cookie fix, test fixes, and ANON_ALWAYS cleanup #11
Commits on Jun 5, 2012
-
Fix test broken by Django 1.4.
Jody McIntyre committedJun 5, 2012 Configuration menu - View commit details
-
Copy full SHA for 84db1ae - Browse repository at this point
Copy the full SHA 84db1aeView commit details -
Fix test failures when CSRF_FAILURE_VIEW is set to something that red…
…irects.
Jody McIntyre committedJun 5, 2012 Configuration menu - View commit details
-
Copy full SHA for 65c4e30 - Browse repository at this point
Copy the full SHA 65c4e30View commit details
Commits on Jun 6, 2012
-
Re-add urls attribute to TestCsrfToken tests. This is needed to
ensure that / is a simple view that doesn't have side effects that break the tests. session-csrf's tests should be independent of the Django project it's included in.
Jody McIntyre committedJun 6, 2012 Configuration menu - View commit details
-
Copy full SHA for c23330a - Browse repository at this point
Copy the full SHA c23330aView commit details
Commits on Jun 8, 2012
-
Use session cookie for anonymous CSRF cookie.
This fixes an issue with IE 7 and 8 not accepting the cookie if the client's date is set wrong. Session cookies (cookies that have no set expiry date and therefore expire at the end of the browser session) are already used by Django for storing the SESSION_COOKIE (sessionid by default).
Jody McIntyre committedJun 8, 2012 Configuration menu - View commit details
-
Copy full SHA for 8b636bc - Browse repository at this point
Copy the full SHA 8b636bcView commit details -
Merge @anonymous_csrf and ANON_ALWAYS functionality
This requires moving the common code into process_view so we can tell if the view has been decorated.
Jody McIntyre committedJun 8, 2012 Configuration menu - View commit details
-
Copy full SHA for 0745828 - Browse repository at this point
Copy the full SHA 0745828View commit details
Commits on Jun 29, 2012
-
Unset ANON_ALWAYS during TestCsrfMiddleware tests.
This caused test_anon_token_from_cookie to pass when it shouldn't
Configuration menu - View commit details
-
Copy full SHA for a02ba04 - Browse repository at this point
Copy the full SHA a02ba04View commit details -
Fix test_anon_token_from_cookie.
The view needs to be decorated with anonymous_csrf before calling process_view.
Configuration menu - View commit details
-
Copy full SHA for 452522a - Browse repository at this point
Copy the full SHA 452522aView commit details