From 626ced225cd88d29557d2e6e2dbaed1db5c7ea7f Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 17 Dec 2013 15:20:28 -0700 Subject: [PATCH] Discuss Action Pack's new CSRF protection from remote script tags and what it means for your app. In short, update your tests if they don't already use the 'xhr :post' style. --- guides/source/4_1_release_notes.md | 278 +++++++++++++++-------------- 1 file changed, 146 insertions(+), 132 deletions(-) diff --git a/guides/source/4_1_release_notes.md b/guides/source/4_1_release_notes.md index ebeda1d25e..2c01970f63 100644 --- a/guides/source/4_1_release_notes.md +++ b/guides/source/4_1_release_notes.md @@ -222,6 +222,17 @@ This example is equivalent to defining a `EventTracking` module inline, extending it with `ActiveSupport::Concern`, then mixing it in to the `Todo` class. +### CSRF protection from remote `