[
https://issues.jenkins-ci.org/browse/JENKINS-12730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159449#comment-159449
]
SCM/JIRA link daemon commented on JENKINS-12730:
------------------------------------------------
Code changed in jenkins
User: Jesse Farinacci
Path:
src/main/java/org/jenkins/ci/plugins/keyboard_shortcuts/KeyboardShortcutsPageDecorator.java
http://jenkins-ci.org/commit/keyboard-shortcuts-plugin/81c894d6ca46e678304613fe8efb1842c1708dc3
Log:
[FIXED JENKINS-12730] rootUrl vs rootUrlFromRequest -- rev. proxies
> Going to pages via global shortcuts doesn't use the current url/url set in
> config
> ---------------------------------------------------------------------------------
>
> Key: JENKINS-12730
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12730
> Project: Jenkins
> Issue Type: Bug
> Components: keyboard-shortcuts
> Affects Versions: current
> Reporter: Mandeep Rai
> Assignee: jieryn
>
> I have my jenkins running on port 8001 (ie: http://builds:8001) using a
> prefix of "builds" (ie: http://builds:8001/builds).
> I also have an Apache instance that is forwarding from port 80 to jenkins
> (ie: http://builds.mydomain.com/builds).
> In the jenkins main config, I have the "Jenkins URL" in the system config set
> to the proper apache forwarded address (ie:
> http://builds.mydomain.com/builds), as is the JENKINS_URL.
> If I use the keyboard shortcut to go to a job, instead of
> http://builds.mydomain.com/builds/job/<job>, it goes to
> http://builds:8001/builds/job/<job>, and as a result of the url change, I am
> no longer logged in, unless I manually change the host in the location bar
> from builds:8001 to builds.mydomain.com
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira