Commit:    4ec29b945c9b1811c89e46c16215a7563a9f0430
Author:    Andrew Faulds <a...@ajf.me>         Mon, 20 Aug 2012 00:29:18 +0100
Committer: Stanislav Malyshev <s...@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:


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to