From d900cec96c322fb85a810b3476defa8e458fa2a8 Mon Sep 17 00:00:00 2001 From: Chris Bargren Date: Tue, 22 Dec 2015 10:38:16 -0700 Subject: [PATCH] Updating http parser to accept a `+` in the schema --- deps/http-parser/http_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }