• A
    Return 400 Bad Request for URL paths with invalid encoding. · 3fc561a1
    Andrew White 提交于
    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
    3fc561a1
routing_test.rb 85.9 KB