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/dispatch
Agis Anastasopoulos 3f81b3753f Show helpful messages on invalid param. encodings
Prior to this change, given a route:

    # config/routes.rb
    get ':a' => "foo#bar"

If one pointed to http://example.com/%BE (param `a` has invalid encoding),
a `BadRequest` would be raised with the following non-informative message:

    ActionController::BadRequest

From now on the message displayed is:

    Invalid parameter encoding: hi => "\xBE"

Fixes #21923.
2015-10-19 17:36:22 +03:00
..
request implement abstract store methods 2015-09-04 19:25:59 -07:00
routing Change Journey::Route#verb to return string instead of regexp. 2015-10-03 18:28:29 +09:00
session implement abstract store methods 2015-09-04 19:25:59 -07:00
callbacks_test.rb Remove unused block arguments 2015-08-25 09:31:12 +05:30
cookies_test.rb Don't set a nil Set-Cookie header when there aren't any cookies. Omit the header. 2015-10-01 18:47:13 -07:00
debug_exceptions_test.rb Remove mocha from ActionPack tests 2015-09-05 16:58:40 +02:00
exception_wrapper_test.rb Remove mocha from ActionPack tests 2015-09-05 16:58:40 +02:00
header_test.rb Introduce Headers#add. Move Response#add_header upstream. 2015-10-03 21:59:18 -07:00
live_response_test.rb move file sending to the response object 2015-10-05 16:50:50 -07:00
mapper_test.rb Change Journey::Route#verb to return string instead of regexp. 2015-10-03 18:28:29 +09:00
middleware_stack_test.rb finish deprecating handling strings and symbols 2015-08-07 15:37:31 -07:00
mime_type_test.rb Use Mime[:foo] instead of Mime::Type[:FOO] for back compat 2015-10-06 11:29:30 -07:00
mount_test.rb make the routes reader private 2015-08-18 16:33:18 -07:00
prefix_generation_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
rack_cache_test.rb
reloader_test.rb Reset callbacks after test. 2014-06-05 22:30:53 +08:00
request_id_test.rb Prefer request_id over uuid and test the alias 2015-02-20 20:47:59 -02:00
request_test.rb Show helpful messages on invalid param. encodings 2015-10-19 17:36:22 +03:00
response_test.rb Use Mime[:foo] instead of Mime::Type[:FOO] for back compat 2015-10-06 11:29:30 -07:00
routing_assertions_test.rb Add test to assert_recognizes with custom message 2014-09-05 16:47:00 -03:00
routing_test.rb Get rid of mocha tests - part 1 2015-08-24 12:24:07 +02:00
show_exceptions_test.rb Remove extra whitespaces 2015-06-11 16:54:13 -03:00
ssl_test.rb Make config.force_ssl less dangerous to try and easier to disable 2015-09-07 17:57:20 -07:00
static_test.rb Merge pull request #19135 from yuki24/access-control-support 2015-10-13 11:16:50 -07:00
test_request_test.rb Get rid of mocha tests - part 1 2015-08-24 12:24:07 +02:00
test_response_test.rb only call methods that are on the superclass 2015-07-14 07:46:17 -07:00
uploaded_file_test.rb always transcode the file to utf-8 2014-07-16 11:35:27 -07:00
url_generation_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00