From 44b1416a16acd16b7bc0360ae7d49705966cb98a Mon Sep 17 00:00:00 2001 From: Enoc Date: Mon, 18 Oct 2021 23:08:39 -0600 Subject: [PATCH] Core normalize_paths filter: fix URI.unescape deprecation --- lib/docs/filters/core/normalize_paths.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/filters/core/normalize_paths.rb b/lib/docs/filters/core/normalize_paths.rb index 35a0f48d..9f182f8d 100644 --- a/lib/docs/filters/core/normalize_paths.rb +++ b/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