diff options
author | Grey Baker <greysteil@gmail.com> | 2016-07-13 18:44:04 +0100 |
---|---|---|
committer | Grey Baker <greysteil@gmail.com> | 2016-07-14 16:50:49 +0100 |
commit | 9f38a3fb0c9c71102da283b014503ccad92da581 (patch) | |
tree | 0bfaa2eeb07129d446ff8441ab9d4354806e7391 /railties | |
parent | ea31bdd7c8b1221d97de2392ac22d9c5fb8657d5 (diff) | |
download | rails-9f38a3fb0c9c71102da283b014503ccad92da581.tar.gz rails-9f38a3fb0c9c71102da283b014503ccad92da581.tar.bz2 rails-9f38a3fb0c9c71102da283b014503ccad92da581.zip |
Check `request.path_parameters` encoding at the point they're set
Check for any non-UTF8 characters in path parameters at the point they're
set in `env`. Previously they were checked for when used to get a controller
class, but this meant routes that went directly to a Rack app, or skipped
controller instantiation for some other reason, had to defend against
non-UTF8 characters themselves.
Diffstat (limited to 'railties')
0 files changed, 0 insertions, 0 deletions