diff options
author | Dominic Cleal <dominic@cleal.org> | 2017-01-20 14:33:52 +0000 |
---|---|---|
committer | Dominic Cleal <dominic@cleal.org> | 2017-01-23 17:56:57 +0000 |
commit | 13c7f2b537b580beb5f3df29b8396d2157bdfdab (patch) | |
tree | 4a880692055af920da504e56e7f213c849b3e1e9 /actionpack/lib/action_controller/metal/conditional_get.rb | |
parent | c309073c7476f50dfb1e796d058580f176101c36 (diff) | |
download | rails-13c7f2b537b580beb5f3df29b8396d2157bdfdab.tar.gz rails-13c7f2b537b580beb5f3df29b8396d2157bdfdab.tar.bz2 rails-13c7f2b537b580beb5f3df29b8396d2157bdfdab.zip |
Delete PATH_INFO after each controller test request
Prevents PATH_INFO from being used to infer the request format in later
test requests when no explicit format is given.
As the request PATH_INFO may be set before a request, it can't be
deleted during pre-request scrubbing.
Fixes #27774
Diffstat (limited to 'actionpack/lib/action_controller/metal/conditional_get.rb')
0 files changed, 0 insertions, 0 deletions