Commit 2f2575c0 by Chris Bargren Committed by Edward Thomson

Updating http parser to accept a `+` in the schema

parent 785d8c48
...@@ -451,7 +451,7 @@ parse_url_char(enum state s, const char ch) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment