RemoveXSS Class Reference

List of all members.

Public Member Functions

 RemoveXSS ($val, $replaceString= '< x >')

Static Public Member Functions

static process ($val, $replaceString= '< x >')

Detailed Description

Definition at line 25 of file RemoveXSS.php.


Member Function Documentation

static RemoveXSS::process ( val,
replaceString = '<x>' 
) [static]

Removes potential XSS code from an input string.

Using an external class by Travis Puderbaugh <kallahar@quickwired.com>

Parameters:
string Input string
string replaceString for inserting in keywords (which destroyes the tags)
Returns:
string Input string with potential XSS code removed

Definition at line 50 of file RemoveXSS.php.

References $val.

RemoveXSS::RemoveXSS ( val,
replaceString = '<x>' 
)

Removes potential XSS code from an input string. Wrapper for RemoveXSS::process().

Using an external class by Travis Puderbaugh <kallahar@quickwired.com>

Parameters:
string Input string
string replaceString for inserting in keywords (which destroyes the tags)
Returns:
string Input string with potential XSS code removed
Deprecated:
since TYPO3 4.3, use static call RemoveXSS::process() instead

Definition at line 37 of file RemoveXSS.php.

References $val.

Referenced by t3lib_div::removeXSS().


The documentation for this class was generated from the following file:
Generated on Sat Nov 29 04:23:31 2008 for TYPO3 API by  doxygen 1.4.7