The util_uri_parse function converts //, /./, and /*/../ into / in the specified URI where * is any character other than /. You can use this function to convert a URI’s unacceptable sequences into valid ones. First use the function util_uri_is_evil to determine whether the function has an incorrect sequence.
void util_uri_parse(char *uri);
void
char *uri is the URI to be converted.