forked from tangled.org/core
this repo has no description

appview: repo: fix compare url to work with pathescaped refs

Signed-off-by: oppiliappan <me@oppi.li>

authored by oppi.li and committed by Tangled 683bf2cf b663bac6

Changed files
+4
appview
repo
+4
appview/repo/repo.go
··· 8 8 "io" 9 9 "log" 10 10 "net/http" 11 + "net/url" 11 12 "path" 12 13 "slices" 13 14 "sort" ··· 1341 1342 head = parts[1] 1342 1343 } 1343 1344 } 1345 + 1346 + base, _ = url.PathUnescape(base) 1347 + head, _ = url.PathUnescape(head) 1344 1348 1345 1349 if base == "" || head == "" { 1346 1350 log.Printf("invalid comparison")