Mirror of @tangled.org/core. Running on a Raspberry Pi Zero 2 (Please be gentle).

appview: artifact: unescape tags when resolving them

i could have sworn chi.URLParam was supposed to do this...

+6
+6
appview/state/artifact.go
··· 4 4 "fmt" 5 5 "log" 6 6 "net/http" 7 + "net/url" 7 8 "time" 8 9 9 10 comatproto "github.com/bluesky-social/indigo/api/atproto" ··· 249 248 } 250 249 251 250 func (s *State) resolveTag(f *FullyResolvedRepo, tagParam string) (*types.TagReference, error) { 251 + tagParam, err := url.QueryUnescape(tagParam) 252 + if err != nil { 253 + return nil, err 254 + } 255 + 252 256 us, err := NewUnsignedClient(f.Knot, s.config.Dev) 253 257 if err != nil { 254 258 return nil, err