From f9470dffe9544f229d9ac25bfe58e5000d2a55f4 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 26 Mar 2016 17:11:59 -0400 Subject: [PATCH] Bypass URI path check when decoding path --- 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 8feb645c..d8f944ef 100644 --- a/lib/docs/filters/core/normalize_paths.rb +++ b/lib/docs/filters/core/normalize_paths.rb @@ -26,7 +26,7 @@ module Docs def normalize_href(href) url = URL.parse(href) - url.path = normalize_path(url.path) + url.send(:set_path, normalize_path(url.path)) url rescue URI::InvalidURIError href