[GH-ISSUE #1154] Uploads fail if the directory contains an ampersand in the directory name #744

Open
opened 2026-03-02 16:01:10 +03:00 by kerem · 0 comments
Owner

Originally created by @cashmol on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1154

I had a user uploading a file who got a permission error each time they tried to upload

They have the correct permissions and the file permissions on the server were also correct.

I discovered that if I removed the Ampersand from the directory name the user could upload the file.

Tested on version: Tiny File Manager 2.5.3

Steps:

Create a new folder called

Here & There

Try to upload a file and recieve the error:

image

Go up to the parent directory

Rename the directory to:

Here and There

Try to upload the file

The upload succeeds.

Originally created by @cashmol on GitHub (Mar 27, 2024). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1154 I had a user uploading a file who got a permission error each time they tried to upload They have the correct permissions and the file permissions on the server were also correct. I discovered that if I removed the Ampersand from the directory name the user could upload the file. Tested on version: Tiny File Manager 2.5.3 Steps: Create a new folder called Here & There Try to upload a file and recieve the error: ![image](https://github.com/prasathmani/tinyfilemanager/assets/156312472/6cc72f71-3ff3-4332-bcde-3fe45997e889) Go up to the parent directory Rename the directory to: Here and There Try to upload the file The upload succeeds.
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#744
No description provided.