| Issue 3178: | gerrit 2.10 login error | |
| 2 people starred this issue and may be notified of changes. | Back to list |
***************************************************************** ***** ***** ***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! ***** ***** ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD, ***** ***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.***** ***** ***** ***** THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS ***** ***** ***** ***************************************************************** Affected Version:2.10 What steps will reproduce the problem? 1.Running Gerrit 2.10 with reverse proxy to http://host/gerrit2/ 2.Click 'Sign In' link. 3.404 not found. What is the expected output? What do you see instead? The 'Sign In' link should direct to https://host/gerrit2/login/q/status:open but instead redirects to http://host/gerrit2/login/%23%2Fq%2Fstatus%3Aopen Please provide any additional information below. Url: https://host/gerrit2/login/%23%2Fq%2Fstatus%3Aopen Not Found The requested URL /gerrit2/login/#/q/status:open was not found on this server. If i replace on the url %23%2Fq%2Fstatus%3Aopen with #/open i am getting login screen and can able to login.
Feb 19, 2015
#1
icee...@googlemail.com
Mar 3, 2015
Gerrit 2.10 now encode the page url to redirect after the login. As Björn pointed out, you need to ensure that reverse proxy allow encoded slash and also validate the same in your web server if you are not using the embedded one.
Status:
AwaitingInformation
Aug 21, 2015
(No comment was entered for this change.)
Status:
Invalid
Nov 25, 2015
I added -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true in CATALINA_OPTS and still not work. I use Windows 2012 Tomcat7 Gerrit 2.11.5. What I should do to resolve this issue ? |
|
| ► Sign in to add a comment |