Author: brosner
Date: 2011-07-14 12:40:30 -0700 (Thu, 14 Jul 2011)
New Revision: 16544
Modified:
django/branches/releases/1.3.X/docs/ref/contrib/csrf.txt
Log:
[1.3.X] Added a note about the AJAX CSRF example not working on jQuery 1.5
Backport of [16543] from trunk.
Modified: django/branches/releases/1.3.X/docs/ref/contrib/csrf.txt
===================================================================
--- django/branches/releases/1.3.X/docs/ref/contrib/csrf.txt 2011-07-14
18:36:05 UTC (rev 16543)
+++ django/branches/releases/1.3.X/docs/ref/contrib/csrf.txt 2011-07-14
19:40:30 UTC (rev 16544)
@@ -133,6 +133,11 @@
}
});
+.. note::
+
+ Due to a bug introduced in jQuery 1.5, the example above will not work
+ correctly on that version. Make sure you are running at least jQuery 1.5.1.
+
Adding this to a javascript file that is included on your site will ensure that
AJAX POST requests that are made via jQuery will not be caught by the CSRF
protection.
--
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.