FileValidatorZip::isValidFilename()
Is the given filename allowed for extraction from a ZIP file?
This is an API method for external use, and is not used directly by this module. This method looks at the filename only for given $options only, it does not validate size.
Usage
$bool = $fileValidatorZip->isValidFilename(string $filename, array $options);Arguments
| Name | Type(s) | Description |
|---|---|---|
$filename | string | |
$options | array |
|
Return value
bool
FileValidatorZip methods and properties
API reference based on ProcessWire core version 3.0.253