TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Form\Filter\RemoveXssFilter Class Reference
Inheritance diagram for TYPO3\CMS\Form\Filter\RemoveXssFilter:
TYPO3\CMS\Form\Filter\FilterInterface tx_form_System_Filter_Removexss

Public Member Functions

 filter ($value)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Remove Cross Site Scripting filter

Author
Patrick Broens patri.nosp@m.ck@p.nosp@m.atric.nosp@m.kbro.nosp@m.ens.n.nosp@m.l

Definition at line 22 of file RemoveXssFilter.php.

Member Function Documentation

◆ filter()

TYPO3\CMS\Form\Filter\RemoveXssFilter::filter (   $value)

Return filtered value Removes potential XSS code from the 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$valueUnfiltered value
Returns
string The filtered value

Implements TYPO3\CMS\Form\Filter\FilterInterface.

Definition at line 33 of file RemoveXssFilter.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\removeXSS().