#19436: ensure_csrf_cookie decorator issues a "CSRF token missing or incorrect"
warning.
-------------------------------+--------------------------------------
     Reporter:  wrr@…          |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  Uncategorized  |                  Version:  1.4
     Severity:  Normal         |               Resolution:  invalid
     Keywords:  csrf           |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by anonymous):

 What I meant was that the warning for sure comes from ensure_csrf_cookie
 because the application does not use CsrfViewMiddleware directly.
 ensure_csrf_cookie internally uses CsrfViewMiddleware and the warning is
 indeed printed by this class, but this is ensure_csrf_cookie
 implementation detail.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19436#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to