Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading a branch as a ZIP fails if the branch name contains a slash #3544

Open
3 tasks done
redfellow opened this issue Jun 4, 2024 · 0 comments
Open
3 tasks done
Labels

Comments

@redfellow
Copy link

Before submitting an issue to GitBucket I have first:

Issue

Impacted version: 4.38.4

Problem description:

  1. After opening a repo and it's branch in the web ui, eg. https://xxx.xxx/Customer/repo/tree/branchname/withslash
  2. Clicking the download as ZIP buttons opens up an URL: https://xxx.xxx/Customer/repo/archive/branchname%2Fwithslash.zip
  3. The opened URL shows: Not Found The requested URL /Customer/repo/archive/branchname/withslash.zip was not found on this server.
  4. Replace %2F in the URL with / and hit enter, zip downloads just fine.

My guess:
The slash in the repo name is being URL encoded and the download isn't working because of that.

@takezoe takezoe added the bug label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants