Added decoding to alt-ref for root handling

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-11-07 10:24:06 -05:00
parent 784954e208
commit d2b864fbfc

View File

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