ServeIt icon indicating copy to clipboard operation
ServeIt copied to clipboard

issue transferiing file

Open JunkyardCat opened this issue 2 years ago • 5 comments

so i downloaded serveit on fdroid . i started the server then tried to download a file(contact.vcf) . when i was saving it it changed from vcf to txt. was wondering if this is at all expected?

JunkyardCat avatar Apr 01 '24 14:04 JunkyardCat

@JunkyardCat We do sanitise the filename during download but we don't change the file extension. Can you share some screenshots during file download and also from which OS/Browser u are downloading.

many-fac3d-g0d avatar Apr 01 '24 14:04 many-fac3d-g0d

what do you mean by sanitize. how does that affect the output

firefox mobile browser Screenshot

JunkyardCat avatar Apr 02 '24 06:04 JunkyardCat

@JunkyardCat The issue is with Firefox browser app & .vcf extension, I'm able to reproduce it but other browsers work fine. And sanitizing means removing unsafe characters from the filename (Some characters in filename can break the request) but we are not changing anything in the extension part of the filename. I will try to check on the Firefox issue, see if there is any generic solution dont want to add a specific fix for firefox alone.

many-fac3d-g0d avatar Apr 03 '24 17:04 many-fac3d-g0d

any update on this?

JunkyardCat avatar Apr 20 '24 12:04 JunkyardCat

@JunkyardCat I'm working on v2.0.0 build for Google playstore that is my priority now. I will work on this issue once it is done. As I said in my previous comment the issue seems to be only with Firefox & .vcf extension. Other browsers should work fine so there is already a workaround available.

many-fac3d-g0d avatar Apr 22 '24 09:04 many-fac3d-g0d