[GH-ISSUE #533] Rename fails if the folder(s) of the file contains any quotes #392

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

Originally created by @34will on GitHub (Apr 29, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/533

It is not possible to rename a file with a quote in the folder of the preceding path. It causes an error in the JavaScript and fails to bring up the rename popup.
As an example, trying to rename test.txt in /Documents/Test 'Hello'/ fails with error: Uncaught SyntaxError: missing ) after argument list

Image of error in console

Originally created by @34will on GitHub (Apr 29, 2021). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/533 It is not possible to rename a file with a quote in the folder of the preceding path. It causes an error in the JavaScript and fails to bring up the rename popup. As an example, trying to rename `test.txt` in `/Documents/Test 'Hello'/` fails with error: `Uncaught SyntaxError: missing ) after argument list` ![Image of error in console](https://user-images.githubusercontent.com/1790163/116567436-8798d880-a8ff-11eb-89bb-fc0497f4d1b0.png)
kerem closed this issue 2026-03-02 15:58:25 +03:00
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#392
No description provided.