Commit: 491b1efacb995cd857f01f3b2d1b7d70a2384e46 Author: husman <[email protected]> Wed, 26 Sep 2012 23:50:30 -0400 Committer: Stanislav Malyshev <[email protected]> Sun, 30 Sep 2012 19:20:37 -0700 Parents: f879e1162fe5b0c017983e9690aa70a5f17251c4 Branches: PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=491b1efacb995cd857f01f3b2d1b7d70a2384e46 Log: Bug #63162 - parse_url does not matches password component Bugs: https://bugs.php.net/63162 Changed paths: M ext/standard/url.c Diff: diff --git a/ext/standard/url.c b/ext/standard/url.c index 44a5680..c159322 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -201,6 +201,8 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length) STR_FREE(ret->scheme); efree(ret); return NULL; + } else if (*s == '/' && *(s+1) == '/') { /* relative-scheme URL */ + s += 2; } else { goto just_path; } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
