diff options
author | Arthur Neves <arthurnn@gmail.com> | 2015-06-16 21:03:39 +0200 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2015-06-16 23:27:49 +0200 |
commit | e23b3149458b22cf07382d6aeb2264585e28a339 (patch) | |
tree | ebb3f70d250693dcd4423c492de453fa629ac01e /actionpack/test/controller/api/conditional_get_test.rb | |
parent | e60c18931c81a88f4eb89059e955d6ff07c5e26c (diff) | |
download | rails-e23b3149458b22cf07382d6aeb2264585e28a339.tar.gz rails-e23b3149458b22cf07382d6aeb2264585e28a339.tar.bz2 rails-e23b3149458b22cf07382d6aeb2264585e28a339.zip |
Catch InvalidURIError on bad paths on redirect.
Handle URI::InvalidURIError errors on the redirect route method, so it
wont raise a 500 if a bad path is given.
Diffstat (limited to 'actionpack/test/controller/api/conditional_get_test.rb')
0 files changed, 0 insertions, 0 deletions