Home » Web Services » SOAP » Bug #374
undefined $url in SOAP_Transport_HTTP::_validateUrl
Details
| Submitted | 2003-12-08 09:26 UTC |
|---|---|
| From | smith at backendmedia dot com |
| Assigned | arnaud |
| Status | Closed |
| Package | SOAP |
| PHP Version | Irrelevant |
| OS | Windows |
| Roadmaps | (Not assigned) |
Comments
[2003-12-08 09:26 UTC] smith at backendmedia dot com
Description:
------------
In the SOAP_Transport_HTTP class there is the following code in which $url is obviously not defined but used none the less:
function _validateUrl()
{
if ( ! is_array($this->urlparts) ) {
$this->_raiseSoapFault("Unable to parse URL $url");
return false;
}
if (!isset($this->urlparts['host'])) {
$this->_raiseSoapFault("No host in URL $url");
return FALSE;
}