1
0
Эх сурвалжийг харах

Core normalize_paths filter: fix URI.unescape deprecation

Enoc 4 жил өмнө
parent
commit
44b1416a16

+ 1 - 1
lib/docs/filters/core/normalize_paths.rb

@@ -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