diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-05-16 07:45:41 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-05-16 08:01:11 +0900 |
commit | e605921614c286ab2d6b4cafb655230a3d9b5fee (patch) | |
tree | b7f41cf39e304e941a04128255bd5d73c18d72f7 /activesupport/lib/active_support/concern.rb | |
parent | 6086fbaecf57cde96d00dcd7ea776263dd4b3e79 (diff) | |
download | rails-e605921614c286ab2d6b4cafb655230a3d9b5fee.tar.gz rails-e605921614c286ab2d6b4cafb655230a3d9b5fee.tar.bz2 rails-e605921614c286ab2d6b4cafb655230a3d9b5fee.zip |
Fix `TestInvalidUrls` with rack 2.0.3
Currently, raise `BadRequest` if params encoding is invalid.
https://github.com/rails/rails/blob/5-1-stable/actionpack/lib/action_dispatch/http/parameters.rb#L64..L74
https://github.com/rails/rails/blob/5-1-stable/actionpack/lib/action_dispatch/request/utils.rb#L26..L39
However, env values are ensure encoded in ASCII 8 BIT at rack 2.0.3.
https://github.com/rack/rack/commit/68db9aa99e3e2775a58621f658b2a7a0f67db459
Therefore, even if specify an invalid urls, it will not cause an error.
Diffstat (limited to 'activesupport/lib/active_support/concern.rb')
0 files changed, 0 insertions, 0 deletions