Skip to content

Commit

Permalink
[FIXED JENKINS-24014] Make reverse proxy check tolerate ?auto_refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Aug 15, 2014
1 parent fd77294 commit 97366bf
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 97366bf

Please sign in to comment.