verot / class.upload.php

This PHP class uploads files and manipulates images very easily. It is in fact as much as an image processing class than it is an upload class. Compatible with PHP 4, 5, 7 and 8. Supports processing of local files, uploaded files, files sent through XMLHttpRequest.
http://www.verot.net/php_class_upload.htm
GNU General Public License v2.0
853 stars 359 forks source link

file_name_body_pre changes content #94

Closed GerardLakke closed 6 years ago

GerardLakke commented 6 years ago

After loading the latest library through Composer some unwanted behavior in the filename-procedure,

Using command $foo->file_name_bodypre = 'th' results in a filename "th-****". The underscore gets somehow changed in a '-'

verot commented 6 years ago

Indeed, there was a bug. I pushed a fix in c659b97