From: Ilia Alshanetsky Date: Thu, 11 Aug 2011 13:02:16 +0000 (+0000) Subject: Missing file relating to previous commit X-Git-Tag: php-5.4.0beta1~441 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e9d2a9ce6916cad917b17ef3b8b5fff26861530;p=php Missing file relating to previous commit --- diff --git a/ext/standard/url.c b/ext/standard/url.c index e516f15982..0a1903a22d 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -197,6 +197,10 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length) efree(ret); return NULL; } + } else if (p == pp && *pp == '\0') { + STR_FREE(ret->scheme); + efree(ret); + return NULL; } else { goto just_path; }