The util_uri_is_evil function checks a specified URI for insecure path characters. Insecure path characters include //, /./, /../ and/., /.. (and for Windows./) at the end of the URI. Use this function to see whether a URI requested by the client is insecure.
int util_uri_is_evil(char *t);
1 if the URI is insecure, or 0 if the URI is OK.
char *t is the URI to be checked.