You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commit #1099 changed the ref name to be URL Query encoded. This breaks ref names which contain a /:
A call to curl -vH "Authorization: Bearer $TOKEN" https://$GHE_URL/repos/o/r/git/ref/heads/master works, but https://$GHE_URL/repos/o/r/git/ref/heads%2Fmaster (like GetRef(), GetRefs() use it) fail with 404.
The text was updated successfully, but these errors were encountered:
vetinari
added a commit
to vetinari/go-github
that referenced
this issue
Feb 17, 2020
The commit #1099 changed the ref name to be URL Query encoded. This breaks ref names which contain a /:
A call to
curl -vH "Authorization: Bearer $TOKEN" https://$GHE_URL/repos/o/r/git/ref/heads/master
works, buthttps://$GHE_URL/repos/o/r/git/ref/heads%2Fmaster
(likeGetRef()
,GetRefs()
use it) fail with 404.The text was updated successfully, but these errors were encountered: