-
Bug
-
Resolution: Unresolved
-
Trivial
-
Apache redirect https (without rewriting protocol) to jenkins(http).
Jenkins 1608
I am using Jenkins over HTTPS/SSL. I can navigate to https://jenkins.mydomain.com without any problems. All links are correct with https:// in front of them. I can properly navigate through almost all Jenkins pages
Except when Jenkins tries to redirect (e.g after login, after clicking Build, etc). Whenever Jenkins tries to redirect to any page, it sends me to http:// page (not httpS://)
In the Code
I've seen many calls to FormApply.success, that doesnot use JenkinsUrl. and they send a relative path to stapler framework.
Acording to the StaplerResponse implementation, it completes the URL with (unwanted) request information (line 131):
https://github.com/stapler/stapler/blob/c290e61aa8d053b45091051d3ed91694cda5112d/core/src/main/java/org/kohsuke/stapler/ResponseImpl.java
Similar problem was describe here: http://stackoverflow.com/questions/23703523/jenkins-does-not-redirect-to-https
Thank you.