summaryrefslogtreecommitdiff
path: root/deps/http-parser/http_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/http-parser/http_parser.c')
-rw-r--r--deps/http-parser/http_parser.c2
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;
}