Skip to content

Commit

Permalink
Typo2 on #57
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed Feb 20, 2015
1 parent 6cca983 commit 1934fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Saml2/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ public static function getSelfURLhost()
$protocol = 'http';
}

if (isset($_SERVER["X-FORWARDED-PORT"])) {
$portnumber = $_SERVER["X-FORWARDED-PORT"];
if (isset($_SERVER["HTTP_X_FORWARDED_PORT"])) {
$portnumber = $_SERVER["HTTP_X_FORWARDED_PORT"];
} else if (isset($_SERVER["SERVER_PORT"])) {
$portnumber = $_SERVER["SERVER_PORT"];
}
Expand Down

0 comments on commit 1934fe9

Please sign in to comment.