#16164: Suggested approach for CSRF in AJAX requests doesn't work when cookie 
not
set
--------------------------------------+------------------------------
               Reporter:  anonymous   |          Owner:  nobody
                   Type:  Bug         |         Status:  closed
              Milestone:              |      Component:  contrib.csrf
                Version:  1.3         |       Severity:  Normal
             Resolution:  worksforme  |       Keywords:
           Triage Stage:  Unreviewed  |      Has patch:  0
    Needs documentation:  0           |    Needs tests:  0
Patch needs improvement:  0           |  Easy pickings:  0
--------------------------------------+------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * needs_better_patch:   => 0
 * resolution:   => worksforme
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 This is a duplicate of #15925 and #15354 and it was fixed in r16192.

 See
 
https://docs.djangoproject.com/en/dev//ref/contrib/csrf/#django.views.decorators.csrf.ensure_csrf_cookie

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16164#comment:1>
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 this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to