* fixed missing port number in WsdlDownloader

* fixed boolean assertions
This commit is contained in:
Andreas Schamberger
2011-10-16 17:35:14 +02:00
parent 98a916957c
commit c54b2925fe
2 changed files with 23 additions and 16 deletions

View File

@ -218,6 +218,10 @@ class WsdlDownloader
unset($parts[$key]);
}
}
return $urlParts['scheme'] . '://' . $urlParts['host'] . implode('/', $parts);
$hostname = $urlParts['scheme'] . '://' . $urlParts['host'];
if (isset($urlParts['port'])) {
$hostname .= ':' . $urlParts['port'];
}
return $hostname . implode('/', $parts);
}
}