mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 15:52:02 +00:00
Updating http parser to accept a +
in the schema
This commit is contained in:
parent
e9c0d7962b
commit
d900cec96c
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;
|
break;
|
||||||
|
|
||||||
case s_req_schema:
|
case s_req_schema:
|
||||||
if (IS_ALPHA(ch)) {
|
if (IS_ALPHA(ch) || ch == '+') {
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user