Skip to content

Commit d900cec

Browse files
committed
Updating http parser to accept a + in the schema
1 parent e9c0d79 commit d900cec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎deps/http-parser/http_parser.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ parse_url_char(enum state s, const char ch)
451451
break;
452452

453453
case s_req_schema:
454-
if (IS_ALPHA(ch)) {
454+
if (IS_ALPHA(ch) || ch == '+') {
455455
return s;
456456
}
457457

0 commit comments

Comments
 (0)