Util_Uri_Is_Evil; Util_Uri_Parse - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

The
util_uri_escape
Therefore, if
is not NULL, it should be at least three times as large as the string
d
is the string containing the original unescaped URI.
char *s
See also
util_uri_is_evil, util_uri_parse, util_uri_unescape

util_uri_is_evil

The
util_uri_is_evil
characters. Insecure path characters include
Windows NT
) at the end of the URI. Use this function to see if a URI requested
./
by the client is insecure.
Syntax
int util_uri_is_evil(char *t);
Returns
1 if the URI is insecure or 0 if the URI is OK.
Parameters
is the URI to be checked.
char *t
See also
util_uri_escape, util_uri_parse

util_uri_parse

The
util_uri_parse
URI (where * is any character other than
URI's bad sequences into valid ones. First use the function
determine whether the function has a bad sequence.
Syntax
void util_uri_parse(char *uri);
Returns
void
Parameters
is the URI to be converted.
char *uri
function does not check bounds for the parameter
function checks a specified URI for insecure path
function converts
,
//
). You can use this function to convert a
/
NSAPI Functions (in Alphabetical Order)
,
,
and
,
//
/./
/../
/.
, and
into
/./
/*/../
util_uri_is_evil
Chapter 5
NSAPI Function Reference
.
d
.
s
(also for
/..
in the specified
/
to
201

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents