PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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;
}