Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.9.0
-
None
-
None
-
1
-
Severity 3 - Minor
-
Description
Summary
If a directory ends with a space character, that directory fails to load in the Source tab.
Steps to Reproduce
- Create a directory ending with a space, and push it to a repository.
- Navigate to the Source of that repository in Bitbucket Server, and navigate to the directory that ends with a space.
Expected Results
The contents of the directory are shown.
Actual Results
The following error is shown to the user:
The path "test_dir/another_test_dir/directory end space" does not exist at revision "refs/heads/master"
Notes
The error does not show a trailing space in the directory name, so it appears the space is trimmed out, causing the path to be invalid.
Workaround
If a trailing slash is added to the URL pointing to this directory, the contents load successfully.