Ticket #15251: 15251.diff
File 15251.diff, 664 bytes (added by , 14 years ago) |
---|
-
docs/releases/1.2.5.txt
diff --git a/docs/releases/1.2.5.txt b/docs/releases/1.2.5.txt index 7482e09..edc6491 100644
a b send back the CSRF token in the custom X-CSRFTOKEN header:: 71 71 if (!(/^http:.*/.test(settings.url) || /^https:.*/.test(settings.url))) { 72 72 // Only send the token to relative URLs i.e. locally. 73 73 xhr.setRequestHeader("X-CSRFToken", 74 $(" #csrfmiddlewaretoken").val());74 $("input[name=csrfmiddlewaretoken]").val()); 75 75 } 76 76 } 77 77 });