Comments (3)
%2F is correct - that is an url encoded forward-slash. Replacing it with a plain forward-slash
will definitely not work. I have not tested on Glassfish. Some servlet containers
(like Tomcat) disallow embedded forward-slashes by default. Glassfish may also fall
into that category. Your screenshots also indicate there may be a proxy layer involved.
Proxies often re-encode %2F as / or vice-versa so that could be another problem point.
I would recommend trying a few different changes to see what works best for you:
1. set web.mountParameters = false in web.xml. This will replace the pretty URLs with
parameterized URLs and is likely to fix your problem.
2. set web.forwardSlashCharacter = ! in web.xml. This will replace embedded '/' with
'!'. If you go with choice 1, choice 2 does not offer you anything. If you want to
keep pretty urls, try this one.
3. Investigate Glassfish and/or proxy layer to understand it's position on embedded
forward-slashes in URLs.
BTW, these are screenshots of 0.6.0, not 0.7.0.
Reported by James.Moger
on 2012-01-05 13:07:12
from gitblit.
web.mountParameters = false has solved the issue, thanks. I really don't mind the clean
urls as long as the app is working. Am happy :-)
Yes I agree that the screenshots are for v6 but yes even v7 had the same issue
Just also to mention that keep up the good work. Gitblit is the first practical git
web interface I have managed to set up that actually works for me.
PS I like the interface that v7 has. Looks really pretty
Reported by arthurbuliva
on 2012-01-06 04:47:34
from gitblit.
I'm glad everything is working for you now and thanks for the feedback!
Look for v0.8.0 sometime next week.
Reported by James.Moger
on 2012-01-06 13:14:36
- Status changed:
Done
from gitblit.
Related Issues (20)
- Error when using ssh clone repository HOT 1
- Can not disable Gravatar in issue page HOT 1
- Garbled code in the comparison page with interface set to Simplified Chinese HOT 2
- Translation of fork as "分支" in Chinese has ambiguity HOT 3
- Maven artifacts are inaccessible HOT 1
- close() called when useCnt is already zero HOT 2
- docker run error N ] Illegal character 0x16 in state=START for buffer HOT 9
- failed to generate gitblit ca certificte HOT 2
- Many vulnerabilies HOT 1
- Support SSH with ED25519-key HOT 4
- How can I specify the JDK version when Gitblit Starts? HOT 2
- Make code IntelliJ friendly? HOT 3
- Let non-admin user create nested repository groups
- Cannot view private repositories
- Missleading message "You have already merged this patchset." when attempting to push ticket patchest branch without any commit on it.
- Ignore whitespace changes -- no config on Server side?
- A gift, an android platform solution for gitblit. PR too troublesome.
- Possible corruption of user.conf
- When ssh clones more than 2G libraries, "Cannot upload pack:" appears.
- Please Check Your Email Regarding a Security Vulnerability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitblit.