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
-
Repository September 1st, 2008 @ 05:03 PM
- → State changed from new to resolved
(from [0de5ec72717d55085c730364f6b1c499e98e43b2]) Fixed unique_filename() not considering sub-paths. [#201 state:resolved] http://github.com/vito/chyrp/com...
-
-
Alex Suraci September 1st, 2008 @ 05:17 PM
- → Milestone changed from 2.0 rc1 to 2.0 rc2
That's what happens when you're the last ticket of a milestone. :P
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 »
