Code Monkey home page Code Monkey logo

Comments (3)

gitblit avatar gitblit commented on July 30, 2024
%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.

gitblit avatar gitblit commented on July 30, 2024
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.

gitblit avatar gitblit commented on July 30, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.