-
Notifications
You must be signed in to change notification settings - Fork 674
Closed
Labels
🐱 DefectStatus-DuplicateThis issue is a duplicate of another issue.This issue is a duplicate of another issue.
Milestone
Description
Hello GitlBlit-Team,
we got a problem with the raw view of GitBlit. First things first, some details about our setup:
- GitBlit version 1.8.0 (JAR)
- JAVA 1.8
The service runs behind an apache 2.4 webserver with reverse proxy configuration like this:
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
<Proxy>
AddDefaultCharset off
Require all granted
</Proxy>
ProxyPass / http://127.0.0.1:5010/
ProxyPassReverse / http://127.0.0.1:5010/
We also set the option web.forwardSlashCharacter
in the gitblit.properties
to !
to prevent problems with encoded slashes.
The actual problem occures when browsing a branch (with a slash in its name) of a repository with the treeview and from there showing a specific file in raw view. The service runs into an error that the resource could not be found.
To reproduce the error, we:
- create a repository
- check out locally with git
- create a branch ( e.g. foo/bar-123)
- create a dummy file in this branch
- commit & push
- open the gitblit webpage
- browse to repo
- select branch from list
- change to tree view
- select raw link on file to switch to raw view
At this point the error occurs.
Thanks for advice and kind regards
tjuchniewicz
Metadata
Metadata
Assignees
Labels
🐱 DefectStatus-DuplicateThis issue is a duplicate of another issue.This issue is a duplicate of another issue.