- Timestamp:
- 2014-03-14T22:46:25+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/securitytools.h
r28898 r28899 28 28 text_t encodeForHTMLAttr(const text_t& input, const text_t& immuneChars=IMMUNE_HTMLATTR); 29 29 text_t encodeForCSS(const text_t& input, const text_t& immuneChars=IMMUNE_CSS); 30 text_t encodeForMySQL(const text_t& input, const text_t& immuneChars=IMMUNE_SQL, const SQLMode mode=STANDARD); 30 // C++ port of OWASP-ESAPI for MySQL, not sure if this is is the same for SQLite 31 text_t encodeForSQL(const text_t& input, const text_t& immuneChars=IMMUNE_SQL, const SQLMode mode=STANDARD); 31 32 32 33 // Character conversions … … 35 36 text_t encodeForJavascript(const text_t& immuneChars, const unsigned short input, bool dmsafe); 36 37 text_t encodeForCSS(const text_t& immuneChars, const unsigned short input); 37 text_t encodeFor MySQL(const text_t& immuneChars, const unsigned short input, const SQLMode mode);38 text_t encodeForSQL(const text_t& immuneChars, const unsigned short input, const SQLMode mode); 38 39 39 40
Note:
See TracChangeset
for help on using the changeset viewer.