Skip to content

Releases: dimer47/php-ghostscript

Release list

v3.1.3

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.

v3.1.2

Choose a tag to compare

@dimer47 dimer47 released this 09 Dec 18:41
[refactor] Refactor test classes to inherit from BaseTest and use env…