Skip to content

Commit

Permalink
Merge pull request #1373 from daniel-beck/JENKINS-24014
Browse files Browse the repository at this point in the history
[FIXED JENKINS-24014] Make reverse proxy check tolerate ?auto_refresh
  • Loading branch information
daniel-beck committed Aug 27, 2014
2 parents fe3b33a + 97366bf commit 4b6a8dd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -74,7 +74,7 @@ public void getTestForReverseProxySetup(String rest) {
assert j != null;
String inferred = j.getRootUrlFromRequest() + "manage";
// TODO this could also verify that j.getRootUrl() has been properly configured, and send a different message if not
if (rest.equals(inferred)) {
if (rest.startsWith(inferred)) { // not using equals due to JENKINS-24014
throw HttpResponses.ok();
} else {
LOGGER.log(Level.WARNING, "{0} vs. {1}", new Object[] {inferred, rest});
Expand Down

0 comments on commit 4b6a8dd

Please sign in to comment.