forked from tangled.org/core
Monorepo for Tangled

appview: fix resubmitFork handler to avoid query-escaping revs

Changed files
+1 -2
appview
state
+1 -2
appview/state/pull.go
··· 8 8 "io" 9 9 "log" 10 10 "net/http" 11 - "net/url" 12 11 "strconv" 13 12 "time" 14 13 ··· 1372 1371 return 1373 1372 } 1374 1373 1375 - hiddenRef := url.QueryEscape(fmt.Sprintf("hidden/%s/%s", pull.PullSource.Branch, pull.TargetBranch)) 1374 + hiddenRef := fmt.Sprintf("hidden/%s/%s", pull.PullSource.Branch, pull.TargetBranch) 1376 1375 comparison, err := ksClient.Compare(forkRepo.Did, forkRepo.Name, hiddenRef, pull.PullSource.Branch) 1377 1376 if err != nil { 1378 1377 log.Printf("failed to compare branches: %s", err)