Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

util_uri_parse() Function

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 bad sequences into valid ones. First, use the function util_uri_is_evil to determine whether the function has a bad sequence.


void util_uri_parse(char *uri);

Return Values



char *uri is the URI to be converted.

See Also

util_uri_is_evil() Function, util_uri_unescape() Function