SvgSanitizer

class \TYPO3\CMS\Core\Resource\Security\SvgSanitizer

Table of Contents

Methods

sanitizeContent()  : string
sanitizeFile()  : void

Methods

sanitizeContent()

public sanitizeContent(string $svg) : string

Parameters

$svg : string

Tags

throws
BadFunctionCallException

Return values

string

sanitizeFile()

public sanitizeFile(string $sourcePath[, string|null $targetPath = null ]) : void

Parameters

$sourcePath : string
$targetPath : string|null = null

Tags

throws
BadFunctionCallException
On this page