Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.7.1
-
1
-
Severity 3 - Minor
-
4
-
Description
Issue Summary
The code file will be saved in HTML other than original format when using 'Raw file' link.
See the detail in 'Steps to Reproduce' section.
This issue is reproduced in below environment.
- Bitbucket: 7.7.1
- Chrome: Version 86.0.4240.193 (Official Build) (x86_64)
According to customer's report:
Same issue happened in Edge(86.0.622.63 )as well.
However, it does not happen in Firefox(82.0.3 64 bit), since a download will be forced.
Steps to Reproduce
- Using chrome, go to Repository source list.
- Click a code file (d.java for example) , and open it.
- left click "Raw file" link, the fille will be open in chrome.
- Right click, select "Save As"
- Add extension for the file, like "d.java", and specify the format "All files", then click "Save"Â button.
- The d.java will be saved to your local.
Expected Results
The saved file is same to the original one. In this example it should be a java file.
Actual Results
However, the file is not same to the original one, it is saved as a html format.
Workaround
Right click "Raw file", choose "Save Link As", and save the file. You will have the original one.
Alternatively, use a non-Chromium browser such as Firefox or Safari