[devdocsgjs/main: 1792/1867] Core normalize_paths filter: fix URI.unescape deprecation
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1792/1867] Core normalize_paths filter: fix URI.unescape deprecation
- Date: Fri, 19 Nov 2021 23:48:19 +0000 (UTC)
commit 44b1416a16acd16b7bc0360ae7d49705966cb98a
Author: Enoc <brianhernandez222 hotmail com>
Date: Mon Oct 18 23:08:39 2021 -0600
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]