Html::sanitizeFile()
Sanitizes the contents of a file by overwriting the file with the sanitized version
Parameters
Name | Type | Default |
---|---|---|
$file * | string |
– |
Exceptions
Type | Description |
---|---|
Kirby\Exception\Exception |
If the file does not exist |
Kirby\Exception\Exception |
On other errors |
Parent class
Kirby\Sane\Html
inherited from Kirby\Sane\Handler