diff options
author | Dmitry Stogov <dmitry@php.net> | 2007-10-17 11:18:34 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2007-10-17 11:18:34 +0000 |
commit | af76115fe5dbe728d4b6c48716a4c7c8f0dc58a8 (patch) | |
tree | 713e94289426b4ad485dbb3bc36160952c80e5d0 /ext/soap/php_http.c | |
parent | cb0991bb85ace61615935520fefd3f8917b37919 (diff) | |
download | php-git-af76115fe5dbe728d4b6c48716a4c7c8f0dc58a8.tar.gz |
Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran)
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r-- | ext/soap/php_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index a868a41efe..282dfdbafc 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -918,7 +918,7 @@ try_again: efree(http_body); efree(loc); if (new_url->scheme == NULL && new_url->path != NULL) { - new_url->scheme = NULL; + new_url->scheme = phpurl->scheme ? estrdup(phpurl->scheme) : NULL; new_url->host = phpurl->host ? estrdup(phpurl->host) : NULL; new_url->port = phpurl->port; if (new_url->path && new_url->path[0] != '/') { |