]> granicus.if.org Git - php/commitdiff
relative-scheme
authorAndrew Faulds <ajf@ajf.me>
Sun, 19 Aug 2012 23:29:18 +0000 (00:29 +0100)
committerStanislav Malyshev <stas@php.net>
Mon, 20 Aug 2012 05:16:07 +0000 (22:16 -0700)
ext/standard/url.c

index f1e48a1a5f7472ac8e4c8ba7e571d1302f08a003..44a568032b690064fc37d2de5f1da45b55edcafd 100644 (file)
@@ -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: