Skip to content

Commit

Permalink
Revert "uri-util: Fixed assertion failure for invalid character in pa…
Browse files Browse the repository at this point in the history
…th segment."

This reverts commit dbbdcc1.
  • Loading branch information
cmouse committed Oct 14, 2016
1 parent 0dda73f commit 204ad3f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/lib/uri-util.c
Expand Up @@ -603,13 +603,6 @@ int uri_parse_path_segment(struct uri_parser *parser, const char **segment_r)
p++;
}

if (p < parser->end &&
*p != '/' && *p != '?' && *p != '#' ) {
parser->error =
"Path component contains invalid character";
return -1;
}

if (p == parser->cur)
return 0;

Expand Down

0 comments on commit 204ad3f

Please sign in to comment.