Bartalog / cool-maze

A quick mobile-to-desktop share capability, through matrix barcode
Apache License 2.0
2 stars 6 forks source link

Lost PDF filenames (multiple share) #585

Open Deleplace opened 8 months ago

Deleplace commented 8 months ago

From @MaBeuLux88 in #284 :

[Lost filenames] while uploading 2 PDF files from an Android (One Plus 9 Pro) selected in the "Files" app and sharing them to CoolMaze on my Ubuntu with Google Chrome

Deleplace commented 8 months ago

Today I tried sharing 2 PDF from the Files app on a Samsung Galaxy S22. The filenames were properly transmitted, in the target web UI and in the resulting ZIP as well.

Deleplace commented 8 months ago

For debugging this issue: note that the backend only sees an opaque encrypted value for the filenames. It cannot see the clear text filenames.

Deleplace commented 8 months ago

Today I tried sharing 2 PDF from the Files app on a Google Pixel 7. The filenames were lost! The contents listed in the ZIP showed up as:

Deleplace commented 8 months ago

When sharing these files individually, from the same Pixel 7, the filenames are properly preserved. They were lost only when shared together in a single action.

MaBeuLux88 commented 8 months ago

This sounds very similar to my bug. I got the same filenames. No file corruption though. Just file name alterations.

Deleplace commented 8 months ago

While I don't have access to the filenames, I can still extract stats about shares that don't seem to be providing a proper filename.

Results: