TYPO3 CMS  TYPO3_8-7
RemoveXSS Class Reference

Static Public Member Functions

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

Detailed Description

Class RemoveXSS

Deprecated:
since TYPO3 v8, will be removed in TYPO3 v9

Definition at line 26 of file RemoveXSS.php.

Member Function Documentation

◆ process()

static RemoveXSS::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
Deprecated:
since TYPO3 v8, will be removed in TYPO3 v9

Definition at line 38 of file RemoveXSS.php.