We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff589cc commit 25e7e09Copy full SHA for 25e7e09
lib/action_controller/caching/actions.rb
@@ -231,7 +231,7 @@ def normalize!(path)
231
ext = URI.parser.escape(extension.to_s) if extension
232
path << "index" if path[-1] == ?/
233
path << ".#{ext}" if extension && !path.split("?", 2).first.ends_with?(".#{ext}")
234
- URI.parser.unescape(path)
+ URI::DEFAULT_PARSER.unescape(path)
235
end
236
237
0 commit comments