Skip to content

Commit 2b9a7a9

Browse files
relative-scheme
1 parent 0cdda05 commit 2b9a7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/url.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length)
204204
} else {
205205
goto just_path;
206206
}
207-
} else if (*s == '/' && *(s+1) == '/') { /* same-scheme (relative) URL */
207+
} else if (*s == '/' && *(s+1) == '/') { /* relative-scheme URL */
208208
s += 2;
209209
} else {
210210
just_path:

0 commit comments

Comments
 (0)