+1
-1
appview/state/signer.go
+1
-1
appview/state/signer.go
···
249
249
const (
250
250
Method = "POST"
251
251
)
252
-
endpoint := fmt.Sprintf("/%s/%s/hidden-ref/%s/%s", ownerDid, targetRepo, forkBranch, remoteBranch)
252
+
endpoint := fmt.Sprintf("/%s/%s/hidden-ref/%s/%s", ownerDid, targetRepo, url.PathEscape(forkBranch), url.PathEscape(remoteBranch))
253
253
254
254
req, err := s.newRequest(Method, endpoint, nil)
255
255
if err != nil {