Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Filenames containing a ":" fail to upload. #765

Open
clanktron opened this issue Nov 10, 2024 · 2 comments
Open

[bug] Filenames containing a ":" fail to upload. #765

clanktron opened this issue Nov 10, 2024 · 2 comments

Comments

@clanktron
Copy link

Description of the bug

Filename is incorrectly stated as invalid and upload fails.

Open Screenshot 2024-08-24 at 04:50:30 PM.png: response error: The object name is invalid.

Step by step instructions to reproduce the bug

Storage backend is samba, the file can be copied over without issues via samba normally. Filestash seems to be doing some sort of internal validation of the filename that incorrectly states it to be invalid.

Can you replicate that error from the demo?

The demo doesn't appear to accept any uploads in general so this isn't testable.

@mickael-kerjean
Copy link
Owner

Can you provide a step by step for me to replicate this? I can't seem to replicate the error on my end:

screenshot-20241111-041238Z-all

@clanktron
Copy link
Author

I started a local testing instance with:

[I] clayton@fedora ~ > podman run  --name filestash-demo -p 8334:8334 machines/filestash
2024/11/12 21:00:35 SYST INFO [http] starting ...
2024/11/12 21:00:36 SYST INFO [http] listening on :8334

Configuration of samba connection:
Screenshot From 2024-11-12 13-07-32

Unsuccessful upload with filename containing ":", followed by a successful upload of a file without such. It also works with the same file if I simply remove the ":"s in the filename.

Screencast.From.2024-11-12.13-04-52.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants