1. Luke Plant
  2. django


bro...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 072e05a

[1.3.X] Added a note about the AJAX CSRF example not working on jQuery 1.5

Backport of [16543] from trunk.

  • Participants
  • Parent commits edb1f3c
  • Branches releases/1.3.X

Comments (0)

Files changed (1)

File docs/ref/contrib/csrf.txt

View file
  • Ignore whitespace
+.. 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