com php-src: relative-scheme: ext/standard/url.c

From: Date: Mon, 20 Aug 2012 05:16:07 +0000
Subject: com php-src: relative-scheme: ext/standard/url.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-69891@lists.php.net to get a copy of this message
Commit: 4ec29b945c9b1811c89e46c16215a7563a9f0430 Author: Andrew Faulds <ajf@ajf.me> Mon, 20 Aug 2012 00:29:18 +0100 Committer: Stanislav Malyshev <stas@php.net> Sun, 19 Aug 2012 22:16:07 -0700 Parents: 36b88d77f2a9d0ac74692a679f636ccb5d11589f Branches: PHP-5.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4ec29b945c9b1811c89e46c16215a7563a9f0430 Log: relative-scheme Changed paths: M ext/standard/url.c Diff: diff --git a/ext/standard/url.c b/ext/standard/url.c index f1e48a1..44a5680 100644 --- a/ext/standard/url.c +++ b/ext/standard/url.c @@ -204,7 +204,7 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length) } else { goto just_path; } - } else if (*s == '/' && *(s+1) == '/') { /* same-scheme (relative) URL */ + } else if (*s == '/' && *(s+1) == '/') { /* relative-scheme URL */ s += 2; } else { just_path:

« previous php.cvs (#69891) next »