#32800: CsrfViewMiddleware unnecessarily masks CSRF cookie
-------------------------------------+-------------------------------------
     Reporter:  Chris Jerdonek       |                    Owner:  Chris
         Type:                       |  Jerdonek
  Cleanup/optimization               |                   Status:  assigned
    Component:  CSRF                 |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton@…>):

 In [changeset:"7aba820aca98a3db77d405b616c9a2d39562f076" 7aba820a]:
 {{{
 #!CommitTicketReference repository=""
 revision="7aba820aca98a3db77d405b616c9a2d39562f076"
 Refs #32800 -- Improved
 CsrfViewMiddlewareTestMixin._check_token_present().

 This changes CsrfViewMiddlewareTestMixin._check_token_present() to give
 more
 detailed information if the check fails, and in particular why it failed.
 It
 also moves CsrfFunctionTests.assertMaskedSecretCorrect() to a separate
 CsrfFunctionTestMixin so the helper can be used in
 CsrfViewMiddlewareTestMixin.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32800#comment:24>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.d9eb221ea104e382bac4ed79e202f4ee%40djangoproject.com.

Reply via email to