#201 √ resolved
misterbrandt

unique_filename doesn't support sub-folders

Reported by misterbrandt | September 1st, 2008 @ 04:56 PM | in 2.0 rc2

includes/helpers.php:736

The 'upload' function supports passing in a sub-folder, but when the filename is checked for uniqueness, unique_filename() doesn't check the correct sub-folder; it checks in the root of the uploads folder. So filenames in sub-folders are getting renamed so that they don't collide with filenames in /uploads.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags