Download button seems not to work correctly when I selected any branch or tag.
Issue #5
resolved
Download button seems not to work correctly when I selected any branch or tag.
Steps to Reproduce
- Open this URL. This is an example page to explain this bug. https://StashURL/projects/HTML5/repos/rtc2013/browse?at=refs%2Ftags%2Frelease20130821
- Click the Download button. Following url is generated. https://StashURL/plugins/servlet/archive/projects/HTML5/repos/rtc2013?at=refs%252Ftags%252Frelease20130821
- A 404 page is shown. The Download button should be linked to like this: https://StashURL/plugins/servlet/archive/projects/HTML5/repos/rtc2013?at=release20130821
Expected Results
- The zip file(source code) should download.
Actual Results
- A 404 page is shown.
Workaround
- deleting an argument which is encoded by tag name. in this case, "refs%252Ftags%252F"
Comments (5)
-
Account Deactivated -
Account Deactivated - changed status to resolved
When version 2.1 is released to Marketplace, two different issues with the "Download" button have been resolved:
- "Download" URLs are no longer double-encoded, eliminating
%252F
issues - The "Download" URL is correctly updated when the branch or tag in the selector is changed
-
Any idea when version 2.1 will be available from the Marketplace?
-
Account Deactivated I'm actioning some feedback from review at the moment, @bewster, and considering another test or two. I'm hoping to get everything merged and released tomorrow (U.S. Pacific Time).
-
Account Deactivated 2.1.0 is now available from Marketplace.
- Log in to comment
Issue
#13was marked as a duplicate of this issue.