Skip to content

Commit

Permalink
Merge pull request #1294 from jenkinsci/pull/1265/head
Browse files Browse the repository at this point in the history
[FIXED JENKINS-23294] Interpret X-Forwarded-Port
Originally-Committed-As: a239197a8fd17e3831af36bfb9b3c90c550a9bb1
  • Loading branch information
stephenc committed Jul 7, 2014
2 parents 52f051c + a6ce9a0 commit 81ccc04
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1815,6 +1815,7 @@ public HtmlPage goTo(String relative) throws IOException, SAXException {
}

public Page goTo(String relative, String expectedContentType) throws IOException, SAXException {
while (relative.startsWith("/")) relative = relative.substring(1);
Page p;
try {
p = super.getPage(getContextPath() + relative);
Expand Down

0 comments on commit 81ccc04

Please sign in to comment.