Skip to content

v3.1.3

Latest

Choose a tag to compare

@dimer47 dimer47 released this 09 Dec 19:48
[fix] Improve file handling and argument escaping

This commit improves the handling of file paths and shell arguments across multiple classes. The use of escapeshellarg ensures that arguments passed to shell_exec are properly escaped to prevent security issues. Additionally, this commit removes unnecessary trim operations in the FileSystem class and corrects the way the file MIME type is assessed in the Handler class. The composer.json file has been updated to require the fileinfo extension.