Manual Reference Pages - CGIESCAPE (3)
cgiEscape - HTML escape certain characters in a string
char *cgiEscape (char *string);
This function returns a pointer to a sanitised string.
<, & and > into HTML entities so that the result can be displayed without any
danger of cross-site scripting in a browser.
The result may be passed to
This routine is meant to be called before any user provided strings
are returned to the browser.
cgiEscape() returns a pointer to the sanitised string or NULL in case of error.
This CGi library is written by Martin Schulze
<firstname.lastname@example.org>. If you have additions or improvements
please get in touch with him.
|CGI Library ||CGIDEBUG (3) ||6 April 2008 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.