Updating http parser to accept a + in the schema

This commit is contained in:
Chris Bargren 2015-12-22 10:38:16 -07:00 committed by Edward Thomson
parent 785d8c48ea
commit 2f2575c002

View File

@ -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;
} }