summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-03-14 15:32:13 +0000
committerAlex Legler <a3li@gentoo.org>2009-03-14 15:32:13 +0000
commitec8c3b4ba4156de0123ac3853d4471291b684633 (patch)
treec8cb632104aa4c8c25a620ab119bd136a8b46c3d /dev-ruby/actionpack/files
parentUpdate qt4.eclass (diff)
downloadhistorical-ec8c3b4ba4156de0123ac3853d4471291b684633.tar.gz
historical-ec8c3b4ba4156de0123ac3853d4471291b684633.tar.bz2
historical-ec8c3b4ba4156de0123ac3853d4471291b684633.zip
Revbump to fix the 2.1 slot for bug 247549.
Package-Manager: portage-2.2_rc25/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/actionpack/files')
-rw-r--r--dev-ruby/actionpack/files/2.1.2-csrf-circumvention.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ruby/actionpack/files/2.1.2-csrf-circumvention.patch b/dev-ruby/actionpack/files/2.1.2-csrf-circumvention.patch
new file mode 100644
index 000000000000..a455b39f4635
--- /dev/null
+++ b/dev-ruby/actionpack/files/2.1.2-csrf-circumvention.patch
@@ -0,0 +1,13 @@
+Patch from upstream git (commit 099a98e9) to fix bug #247549.
+
+--- lib/action_controller/mime_type.rb.1
++++ lib/action_controller/mime_type.rb
+@@ -18,7 +18,7 @@
+ # end
+ class Type
+ @@html_types = Set.new [:html, :all]
+- @@unverifiable_types = Set.new [:text, :json, :csv, :xml, :rss, :atom, :yaml]
++ @@unverifiable_types = Set.new [:json, :csv, :xml, :rss, :atom, :yaml]
+ cattr_reader :html_types, :unverifiable_types
+
+ # A simple helper class used in parsing the accept header