![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 205](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653205.webp)
NSAPI Functions (in Alphabetical Order)
Chapter
5
NSAPI Function Reference
205
The
util_uri_escape
function does not check bounds for the parameter
d
.
Therefore, if
d
is not NULL, it should be at least three times as large as the string
s
.
char *s
is the string containing the original unescaped URI.
See also
util_uri_is_evil, util_uri_parse, util_uri_unescape
util_uri_is_evil
The
util_uri_is_evil
function checks a specified URI for insecure path
characters. Insecure path characters include
//
,
/./
,
/../
and
/.
,
/..
(also for
Windows NT/Windows 2000
./
) 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
char *t
is the URI to be checked.
See also
util_uri_escape, util_uri_parse
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.
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...