| Issue 2600: | tomcat deployment + context path | |
| 3 people starred this issue and may be notified of changes. | Back to list |
************************************************************ ***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL ***** ***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. ***** ***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! ***** ************************************************************ Affected Version: 2.9.1-rc1 What steps will reproduce the problem? 1. install gerrit into tomcat, contextPath: gerrit 2. configure change view to new screen 3. navigate to a change 3. click on a link of a file path in the files block. What is the expected output? What do you see instead? See the file diff view. Instead I get 400 bad request. Please provide any additional information below. It seems as if the REST url is derived from the httpd.listenUrl gerrit.config parameter instead of the gerrit.canonicalWebUrl. This means that the problem has the workaround: enter the http://*:8080/gerrit/ into the listenUrl, and everything is working fine.
Apr 18, 2014
#1
tib...@gmail.com
Apr 21, 2014
I do not think this is related to the context path at all. We have Gerrit running in tomcat in production with new change screen. I just tested in a local tomcat installation and I got the new change screen to work. Add this property to the catalina_opts: -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true it should fix your issue.
Status:
AwaitingInformation
Apr 2, 2015
(No comment was entered for this change.)
Status:
CannotReproduce
|
|
| ► Sign in to add a comment |