aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-05-20 16:44:42 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2012-05-20 19:07:04 +0100
commit3fc561a1f71edf1c2bae695cafa03909d24a5ca3 (patch)
treecd99e00314ff93e8b8c28d88677c7bd312ffd9de /guides/source
parent66eb3f02cc0894f08c4f912ba8bf6fb1f87e9a4a (diff)
downloadrails-3fc561a1f71edf1c2bae695cafa03909d24a5ca3.tar.gz
rails-3fc561a1f71edf1c2bae695cafa03909d24a5ca3.tar.bz2
rails-3fc561a1f71edf1c2bae695cafa03909d24a5ca3.zip
Return 400 Bad Request for URL paths with invalid encoding.
Passing path parameters with invalid encoding is likely to trigger errors further on like `ArgumentError (invalid byte sequence in UTF-8)`. This will result in a 500 error whereas the better error to return is a 400 error which allows exception notification libraries to filter it out if they wish. Closes #4450
Diffstat (limited to 'guides/source')
0 files changed, 0 insertions, 0 deletions