1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Matt Venables 991601ff6e Fix rewinding in ActionDispatch::Request#raw_post
If env['RAW_POST_DATA'] is nil, #raw_post will attempt to set it to
the result of #body (which will return env['rack.input'] if
env['RAW_POST_DATA'] is nil). #raw_post will then attempt to rewind
the result of another call to #body. Since env['RAW_POST_DATA'] has
already been set, the result of #body is not env['rack.input'] anymore.
This causes env['rack.input'] to never be rewound.
2012-12-11 16:57:21 -05:00
..
abstract add tests to aliased _filter callbacks 2012-12-07 15:29:51 -05:00
activerecord cleanup, remove trailing whitespace within actionpack 2012-10-27 16:03:18 +02:00
assertions test response assertions 2012-01-06 11:20:26 -08:00
controller use _action callbacks in actionmailer 2012-12-08 10:21:20 -05:00
dispatch Fix rewinding in ActionDispatch::Request#raw_post 2012-12-11 16:57:21 -05:00
fixtures Add explicit opt-out for fragment cache digesting 2012-11-25 22:10:44 -06:00
lib/controller Add HTML5 input[type="color"] helper 2012-05-21 17:23:48 -03:00
routing add some tests, yay! 2012-02-22 11:05:03 -08:00
template Override <%== to always behave as literal text rather than toggling based on whether escaping is enabled. Fixes that existing plaintext email templates using <%== unexpectedly flipped to *escaping* HTML when #8235 was merged. 2012-12-03 10:31:18 -07:00
tmp
abstract_unit.rb Remove observers and sweepers 2012-11-28 22:46:49 -02:00
active_record_unit.rb Rename "Fixtures" class to "FixtureSet" 2012-10-07 19:15:58 +02:00
ts_isolated.rb Don't use assert_block method. It will be deprecated. 2012-05-20 00:14:40 +09:00