‪TYPO3CMS  10.4
TYPO3\CMS\Core\Resource\Security\SvgSanitizer Class Reference

Public Member Functions

 sanitizeFile (string $sourcePath, string $targetPath=null)
 
string sanitizeContent (string $svg)
 

Detailed Description

Definition at line 22 of file SvgSanitizer.php.

Member Function Documentation

◆ sanitizeContent()

string TYPO3\CMS\Core\Resource\Security\SvgSanitizer::sanitizeContent ( string  $svg)
Parameters
string$svg
Returns
‪string
Exceptions

Definition at line 50 of file SvgSanitizer.php.

Referenced by TYPO3\CMS\Core\Resource\Security\SvgSanitizer\sanitizeFile().

◆ sanitizeFile()

TYPO3\CMS\Core\Resource\Security\SvgSanitizer::sanitizeFile ( string  $sourcePath,
string  $targetPath = null 
)
Parameters
string$sourcePath
string | null$targetPath
Exceptions

Definition at line 29 of file SvgSanitizer.php.

References TYPO3\CMS\Core\Resource\Security\SvgSanitizer\sanitizeContent().