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
Andrew White 0b6ce34223 Restores the escaping of urls generated from hashes. [#4765 state:resolved]
HTML specifications recommend the escaping of urls in web pages,
which url_for does by default for string urls and consquently
urls generated by path helpers as these return strings.

Hashes passed to url_for are not escaped by default and this
commit reverses this default so that they are escaped.

Undoes the changes of this commit:
1b3195b63c

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-28 15:35:38 +02:00
..
abstract Ensure overwritten callbacks conditions in controllers work [#4761 state:resolved] [#3913 state:resolved] 2010-06-22 07:57:45 +02:00
activerecord Deprecate the old router DSL. Since it is still used intensively across ActionPack test suite, patches that translates Rails internal tests to the new router DSL are welcome (note though that a few tests shouldn't be translated since they are testing exactly the old mapper API, like the ones in actionpack/test/controller/resource_test.rb and actionpack/test/controller/routing_test.rb) 2010-06-28 12:23:41 +02:00
controller Move Rails module to abstract_unit to make test in isolation work 2010-06-28 01:26:07 +02:00
dispatch Merge :constraints from scope into resource options [#2694 state:resolved] 2010-06-28 14:22:35 +02:00
fixtures Fixed that an ArgumentError is thrown when request.session_options[:id] is read in the following scenario: when the cookie store is used, and the session contains a serialized object of an unloaded class, and no session data accesses have occurred yet. Pushed the stale_session_check responsibility out of the SessionHash and down into the session store, closer to where the deserialization actually occurs. Added some test coverage for this case and others related to deserialization of unloaded types. 2010-06-27 22:39:06 +02:00
lib move FixtureResolver to a file that is accessible outside Rails' own tests 2010-05-02 22:45:54 +02:00
template Restores the escaping of urls generated from hashes. [#4765 state:resolved] 2010-06-28 15:35:38 +02:00
tmp Use safe tmp dir 2009-08-13 21:03:25 -05:00
abstract_unit.rb Deprecate the old router DSL. Since it is still used intensively across ActionPack test suite, patches that translates Rails internal tests to the new router DSL are welcome (note though that a few tests shouldn't be translated since they are testing exactly the old mapper API, like the ones in actionpack/test/controller/resource_test.rb and actionpack/test/controller/routing_test.rb) 2010-06-28 12:23:41 +02:00
active_record_unit.rb Autoload AR test case 2010-01-04 16:50:01 -06:00
ts_isolated.rb Give useful test:isolated failures 2009-11-04 12:44:06 -08:00