diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2011-10-13 21:41:30 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2011-10-13 21:41:30 -0700 |
commit | bceec4c3c3c8bb8d0747e0c58fd539f46228c37b (patch) | |
tree | 7f34a84c6094d308ed342333147d6d7e5869d7e0 /actionpack/test | |
parent | ec371606640f87289f4821f5f197709dd0ebe6f2 (diff) | |
download | rails-bceec4c3c3c8bb8d0747e0c58fd539f46228c37b.tar.gz rails-bceec4c3c3c8bb8d0747e0c58fd539f46228c37b.tar.bz2 rails-bceec4c3c3c8bb8d0747e0c58fd539f46228c37b.zip |
/ is allowed in URI fragments
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/url_rewriter_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/url_rewriter_test.rb b/actionpack/test/controller/url_rewriter_test.rb index 89de4c1da4..f88903b10e 100644 --- a/actionpack/test/controller/url_rewriter_test.rb +++ b/actionpack/test/controller/url_rewriter_test.rb @@ -70,9 +70,9 @@ class UrlRewriterTests < ActionController::TestCase ) end - def test_anchor_should_be_cgi_escaped + def test_anchor_should_be_uri_escaped assert_equal( - 'http://test.host/c/a/i#anc%2Fhor', + 'http://test.host/c/a/i#anc/hor', @rewriter.rewrite(@routes, :controller => 'c', :action => 'a', :id => 'i', :anchor => Struct.new(:to_param).new('anc/hor')) ) end |