diff options
author | Chris Bargren <cbargren@gmail.com> | 2015-12-22 10:38:16 -0700 |
---|---|---|
committer | Chris Bargren <cbargren@gmail.com> | 2015-12-22 10:38:16 -0700 |
commit | d900cec96c322fb85a810b3476defa8e458fa2a8 (patch) | |
tree | f2eabd84915c197b00487d393fa652c90c06abf1 /deps | |
parent | e9c0d7962b07be30826c8d112ea98c70dd548195 (diff) | |
download | libgit2-d900cec96c322fb85a810b3476defa8e458fa2a8.tar.gz |
Updating http parser to accept a `+` in the schema
Diffstat (limited to 'deps')
-rw-r--r-- | deps/http-parser/http_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/http-parser/http_parser.c b/deps/http-parser/http_parser.c index 203530254..b793d7011 100644 --- a/deps/http-parser/http_parser.c +++ b/deps/http-parser/http_parser.c @@ -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; } |