mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
File browser breaking due to special character in file name #296
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nzxl101 on GitHub (Apr 3, 2025).
Originally assigned to: @rmartinoscar on GitHub.
Current Behavior
When uploading a file through URL that contains special characters e.g. a quotation mark, the whole file browser will stop working until the file has been deleted through SFTP.
Expected Behavior
Be able to upload files with special characters by properly escaping/or removing them.
Steps to Reproduce
Panel Version
1.0.0-beta18
Wings Version
1.0.0-beta10
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Apr 3, 2025):
Hey please provide more logs, i just tried Upload > From URL and i get
@nzxl101 commented on GitHub (Apr 3, 2025):
Hi,
It's not an issue with the upload process itself but rather a client side bug that breaks the JavaScript and renders the file browser unusable. You can't edit/delete/replace any files after such a file has been uploaded
@rmartinoscar commented on GitHub (Apr 3, 2025):
Oh i see you can't do any action now, I'll investigate.
@weeaudi commented on GitHub (Apr 26, 2025):
This is also potentially a security vulnerability. Because of this issue, I am not 100% sure if it was possible to embed JS into the file name running code on anyone who visited the files page