[GH-ISSUE #202] File upload error: uppercase and strtolower() #142

Closed
opened 2026-03-02 15:56:10 +03:00 by kerem · 0 comments
Owner

Originally created by @lucasrca on GitHub (Jul 30, 2019).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/202

Hi.

When I fill the array at line 89 with the allowed extensions, some uploads fails quietly.

I had to add the function to the line 758: $ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION));

i've noticed the bug when I tried to upload a video from my phone with uppercase extension.

Is it really a bug or I made a mistake filling the array?

Thanks.

Regards,
Lucas.

Originally created by @lucasrca on GitHub (Jul 30, 2019). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/202 Hi. When I fill the array at line 89 with the allowed extensions, some uploads fails quietly. I had to add the function to the line 758: `$ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION));` i've noticed the `bug` when I tried to upload a video from my phone with uppercase extension. Is it really a bug or I made a mistake filling the array? Thanks. Regards, Lucas.
kerem 2026-03-02 15:56:10 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#142
No description provided.