Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a comment

  • Loading branch information...
commit a828edaf6af085e8fe9ad4a38267a1e75eb3269a 1 parent 50faa79
Bertrand Paquet authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  http_parser.c
View
1  http_parser.c
@@ -2121,6 +2121,7 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
}
/* host must be present if there is a schema */
+ /* parsing http:///toto will fail */
if ((u->field_set & ((1 << UF_SCHEMA) | (1 << UF_HOST))) != 0) {
if (http_parse_host(buf, u, found_at) != 0) {
return 1;
Please sign in to comment.
Something went wrong with that request. Please try again.