aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/CHANGELOG2
-rw-r--r--actionpack/install.rb1
-rw-r--r--actionpack/lib/action_controller/cgi_process.rb1
3 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 7438f5a4f0..29306668c7 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Added @request.env['RAW_POST_DATA'] for people who need access to the data before Ruby's CGI has parsed it #505 [bitsweat]
+
* Fixed that a default fragment store wan't being set to MemoryStore as intended.
* Fixed that all redirect and render calls now return true, so you can use the pattern of "do and return". Example:
diff --git a/actionpack/install.rb b/actionpack/install.rb
index 5bdad9e2cd..1e55419ee6 100644
--- a/actionpack/install.rb
+++ b/actionpack/install.rb
@@ -41,6 +41,7 @@ files = %w-
action_controller/cgi_ext/cgi_ext.rb
action_controller/cgi_ext/cgi_methods.rb
action_controller/cgi_ext/cookie_performance_fix.rb
+ action_controller/cgi_ext/raw_post_data_fix.rb
action_controller/caching.rb
action_controller/cgi_process.rb
action_controller/cookies.rb
diff --git a/actionpack/lib/action_controller/cgi_process.rb b/actionpack/lib/action_controller/cgi_process.rb
index d597647f58..92b19fbf18 100644
--- a/actionpack/lib/action_controller/cgi_process.rb
+++ b/actionpack/lib/action_controller/cgi_process.rb
@@ -1,5 +1,6 @@
require 'action_controller/cgi_ext/cgi_ext'
require 'action_controller/cgi_ext/cookie_performance_fix'
+require 'action_controller/cgi_ext/raw_post_data_fix'
require 'action_controller/session/drb_store'
require 'action_controller/session/active_record_store'
require 'action_controller/session/mem_cache_store'