diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e24010ef9..dcd71d1232 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Branch not found right after creation ([#1334](https://github.com/scm-manager/scm-manager/pull/1334)) - Overflow for too long branch names ([#1339](https://github.com/scm-manager/scm-manager/pull/1339)) - Set default branch in branch selector if nothing is selected ([#1338](https://github.com/scm-manager/scm-manager/pull/1338)) +- Handling of branch with slashes in source view ([#1340](https://github.com/scm-manager/scm-manager/pull/1340)) ## [2.5.0] - 2020-09-10 ### Added diff --git a/scm-ui/ui-webapp/src/repos/sources/components/FileTree.tsx b/scm-ui/ui-webapp/src/repos/sources/components/FileTree.tsx index 1e92f8cbcf..3d38cfd596 100644 --- a/scm-ui/ui-webapp/src/repos/sources/components/FileTree.tsx +++ b/scm-ui/ui-webapp/src/repos/sources/components/FileTree.tsx @@ -109,7 +109,12 @@ class FileTree extends React.Component { } loadMore = () => { - this.props.fetchSources(this.props.repository, this.props.revision, this.props.path, this.props.hunks.length); + this.props.fetchSources( + this.props.repository, + decodeURIComponent(this.props.revision), + this.props.path, + this.props.hunks.length + ); }; renderTruncatedInfo = () => {