#9977: CSRFMiddleware needs template tag
---------------------------------------------+------------------------------
Reporter: bthomas | Owner: lukeplant
Status: assigned | Milestone: 1.2
Component: HTTP handling | Version: SVN
Resolution: | Keywords: csrf
Stage: Design decision needed | Has_patch: 1
Needs_docs: 1 | Needs_tests: 0
Needs_better_patch: 1 |
---------------------------------------------+------------------------------
Comment (by Glenn):
There's a bigger problem with always sending the header: it means
responses are never cachable, since the CSRF cookie is inherently private.
It took me a while to figure out why Apache's mod_cache wasn't caching
some views I'm returning that are always intended to be cached--because
they had that cookie in there. The same issue would happen with any cache
(Squid, etc).
This makes it a serious problem; I'd like to get this fixed.
--
Ticket URL: <http://code.djangoproject.com/ticket/9977#comment:47>
Django <http://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
-~----------~----~----~----~------~----~------~--~---