TYPO3  7.6
Static Public Member Functions | List of all members
RemoveXSS Class Reference

Static Public Member Functions

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

Detailed Description

Definition at line 20 of file RemoveXSS.php.

Member Function Documentation

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

Removes potential XSS code from an input string.

Using an external class by Travis Puderbaugh kalla.nosp@m.har@.nosp@m.quick.nosp@m.wire.nosp@m.d.com

Parameters
string$valueInput string
string$replaceStringreplaceString for inserting in keywords (which destroys the tags)
Returns
string Input string with potential XSS code removed

Definition at line 31 of file RemoveXSS.php.