Forums

Uppercase issue with file upload

payotte 06 Dec, 2007
Hi,

I've just noticed this (maybe it was said before):
When you define allowable extensions for the file upload, you have to include both lowercase and uppercase, which is not obvious.

For example, I allowed jpg|gif, but some people were sending files that were file.JPG (instead of file.jpg) and the form rejected those.

No big deal, I added the variants, but this should be considered in future updates.

Regards,

Pierr Ayotte
GreyHead 07 Dec, 2007
Hi Pierr,

Good thought, this can be easily picked up with a couple of strtolower() calls in the code.

Bob
Max_admin 07 Dec, 2007
Thanks Pierr!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.