Core normalize_paths filter: fix URI.unescape deprecation

pull/1625/head
Enoc 3 years ago
parent 2b446358b6
commit 44b1416a16

@ -38,7 +38,7 @@ module Docs
path = path.downcase
if context[:decode_and_clean_paths]
path = URI.unescape(path)
path = CGI.unescape(path)
path = clean_path(path)
end

Loading…
Cancel
Save