Skip to content

Download ZIP points to wrong url when not on master branch #23852

Download ZIP points to wrong url when not on master branch #23852
Sep 18, 2021 · 5 answers

  <a href="https://github.com/Dreamacro/clash-dashboard/tree/gh-pages" target="_blank" rel="noopener nofollow ugc">github.com</a>

GitHub - Dreamacro/clash-dashboard at gh-pages

gh-pages

web port of clash. Contribute to Dreamacro/clash-dashboard development by creating an account on GitHub.

It’s on gh-pages branch, but “Download ZIP” url still points to the zip file url containing files of master branch, but not of current branch like https://github.com/Dreamacro/clash-dashboard/archive/refs/heads/gh-pages.zip

It works again
🎉

Replies

5 suggested answers

Try with this link

https://github.com/Dreamacro/clash-dashboard/zipball/gh-pages

by adding zipball in the url

0 replies

I know the workaround, i have already written down the correct url, i just want to report bug.

0 replies

I can confirm this here. Same issue. No matter which branch I am on, it always downloads main.

0 replies

Same here. As a teacher, it’s really ennoying to me. Is there an official bug reporting process for Github?

0 replies

It works again
🎉

0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants