mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-25 16:06:25 +00:00
Updating http parser to accept a + in the schema
This commit is contained in:
2
deps/http-parser/http_parser.c
vendored
2
deps/http-parser/http_parser.c
vendored
@@ -451,7 +451,7 @@ parse_url_char(enum state s, const char ch)
|
||||
break;
|
||||
|
||||
case s_req_schema:
|
||||
if (IS_ALPHA(ch)) {
|
||||
if (IS_ALPHA(ch) || ch == '+') {
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user