From 4ec29b945c9b1811c89e46c16215a7563a9f0430 Mon Sep 17 00:00:00 2001 From: Andrew Faulds Date: Mon, 20 Aug 2012 00:29:18 +0100 Subject: [PATCH] relative-scheme --- ext/standard/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/url.c b/ext/standard/url.c index f1e48a1a5f..44a568032b 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: -- 2.40.0