PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » SOAP » Bug #374

undefined $url in SOAP_Transport_HTTP::_validateUrl

Details

Submitted2003-12-08 09:26 UTC
Fromsmith at backendmedia dot com
Assignedarnaud
StatusClosed
PackageSOAP
PHP VersionIrrelevant
OSWindows
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;
}