diff options
| author | Dmitry Stogov <dmitry@php.net> | 2007-10-17 11:18:49 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2007-10-17 11:18:49 +0000 |
| commit | e61f2d2ad32e01522aae6b3da77dacbcdf6a205b (patch) | |
| tree | 133ba9cfbefad9a26201b71191c7784bb97b3cdd | |
| parent | 6fc398fba98f99e67f075cd883ae9f1dc451e51f (diff) | |
| download | php-git-e61f2d2ad32e01522aae6b3da77dacbcdf6a205b.tar.gz | |
Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran)
| -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 a6112bebe6..439cd640ad 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -925,7 +925,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] != '/') { |
