-
Bug
-
Resolution: Fixed
-
High
-
3.7.4, 3.8.1, 3.9.2, 4.0.2
-
None
NOTE: This issue affects all versions of Bitbucket Server and Stash.
Cause
Firefox 41 introduced a change to their encoding handling of URL hashes. When given a value, they now encode it if required, but don't decode it again when the value is read back out. This causes our file tree to mismatch the hash against the file name and fail to find the selected file since it is comparing the decoded version against the encoded one.
Workaround
If you are comfortable setting flags in your browser, you can set dom.url.getters_decode_hash to true as a temporary workaround. This flag can be set by visiting the URL "about:config", confirming that you understand the implications, searching for "dom.url.getters_decode_hash", and double-clicking the false value cell. NOTE: once the issue is fixed in Bitbucket Server, you will have to set this flag back to false to avoid seeing similar errors with filenames that are already percent-encoded.
The newest stable version of Firefox (41) can't switch files in a commit or pull request file tree when one of the files contains spaces.
Steps to reproduce:
1. Visit a commit or pull request page that contains files with spaces in the name (or in the directory)
3. Select the second or further file
Expected:
The selected file is shown in the content
Actual:
The first file is shown, but the URL reflects the file you clicked.
- is duplicated by
-
BSERV-7923 Web Browser Pull Request Diff View Doesn't Work if Source Path has Spaces
- Closed
-
BSERV-7973 When having a pull request on Stash with images(png) in different folders only the ones in the first folder are showed correctly
- Closed
-
BSERV-8006 Selecting a file in a changeset shows diff for a different file in that changeset when it contains Umlaut
- Closed
-
BSERV-8169 Stash is not opening files while reviewing Pull request in FF 41+
- Closed