Model
File
Magento\Customer\Model\Validator\Address\File
What it does
This class validates file uploads in customer address forms to prevent directory traversal attacks and ensure files are saved within allowed directories.
Developers use this validator to securely handle file attribute uploads for customer addresses, checking that filenames don't contain malicious path sequences and that the absolute file path stays within the permitted storage location.
Public Methods
- validate()