Query: cgiescape
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cgiDebug(3) Programmer's Manual cgiDebug(3)NAMEcgiEscape - HTML escape certain characters in a stringSYNOPSYS#include <cgi.h> char *cgiEscape (char *string);DESCRIPTIONThis function returns a pointer to a sanitised string. It converts <, & and > into HTML entities so that the result can be displayed with- out any danger of cross-site scripting in a browser. The result may be passed to free(3) after use. This routine is meant to be called before any user provided strings are returned to the browser.RETURN VALUEcgiEscape() returns a pointer to the sanitised string or NULL in case of error.AUTHORThis CGi library is written by Martin Schulze <joey@infodrom.org>. If you have additions or improvements please get in touch with him.SEE ALSOfree(3). CGI Library 6 April 2008 cgiDebug(3)
| Related Man Pages |
|---|
| cgigetvalue(3) - debian |
| cgigetfiles(3) - debian |
| cgigetvariables(3) - debian |
| cgiinit(3) - debian |
| html::mason::escapes(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| awk or sed - Convert 2 lines to 1 line |
| How can I do this in VI editor? |
| Is UNIX an open source OS ? |
| My first PERL incarnation... Audio Oscillograph |