From d2b864fbfc0773ffe00b7c7971846a338d5f9cc1 Mon Sep 17 00:00:00 2001 From: quobix Date: Tue, 7 Nov 2023 10:24:06 -0500 Subject: [PATCH] Added decoding to alt-ref for root handling Signed-off-by: quobix --- index/search_index.go | 1 + 1 file changed, 1 insertion(+) diff --git a/index/search_index.go b/index/search_index.go index 50a1f40..58a51a7 100644 --- a/index/search_index.go +++ b/index/search_index.go @@ -92,6 +92,7 @@ func (index *SpecIndex) SearchIndexForReferenceByReferenceWithContext(ctx contex if strings.Contains(ref, "%") { // decode the url. ref, _ = url.QueryUnescape(ref) + refAlt, _ = url.QueryUnescape(refAlt) } if r, ok := index.allMappedRefs[ref]; ok {