Sun Java System Web Server 7.0 NSAPI Developer's Guide

util_uri_parse

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.

Syntax

void util_uri_parse(char *uri);

Returns

void

Parameters

char *uri is the URI to be converted.

See Also

util_uri_is_evil, util_uri_unescape