diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-15 10:14:13 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-15 10:14:13 -0700 |
commit | f9181377924a77dff328c49f51b6dc66c4705e2b (patch) | |
tree | 01cb0affd57393b9654073dd35dce3ad544c0eda /actionpack/test | |
parent | 9dfb41fd2e90398cf96db5f33105be26a09cb92c (diff) | |
parent | 55cac81bc50b7b825e12e1c42edda398094d67ef (diff) | |
download | rails-f9181377924a77dff328c49f51b6dc66c4705e2b.tar.gz rails-f9181377924a77dff328c49f51b6dc66c4705e2b.tar.bz2 rails-f9181377924a77dff328c49f51b6dc66c4705e2b.zip |
Merge pull request #5338 from mreinsch/3-2-static_invalid_byte_sequence
3 2 static invalid byte sequence
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/static_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/static_test.rb b/actionpack/test/dispatch/static_test.rb index 949deefa9d..856746c451 100644 --- a/actionpack/test/dispatch/static_test.rb +++ b/actionpack/test/dispatch/static_test.rb @@ -6,6 +6,10 @@ module StaticTests assert_equal "Hello, World!", get("/nofile").body end + def test_handles_urls_with_bad_encoding + assert_equal "Hello, World!", get("/doorkeeper%E3E4").body + end + def test_sets_cache_control response = get("/index.html") assert_html "/index.html", response |