Skip to content

Commit 86312f5

Browse files
authored
Merge pull request rails#54169 from zzak/re-52779
Railties sprockets_assets_test use URI::RFC2396_PARSER instead of DEFAULT_PARSER
2 parents df90e8e + b9a64a2 commit 86312f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/test/application/sprockets_assets_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ class User < ActiveRecord::Base; raise 'should not be reached'; end
348348
# Load app env
349349
app "development"
350350

351-
get "/assets/#{URI::DEFAULT_PARSER.escape(asset_path)}"
351+
get "/assets/#{URI::RFC2396_PARSER.escape(asset_path)}"
352352
assert_match "not an image really", last_response.body
353353
assert_file_exists("#{app_path}/public/assets/#{asset_path}")
354354
end

0 commit comments

Comments
 (0)