Open terrytw opened 2 weeks ago
I can reproduce this with the file when sending from iOS. Does this happen for you on Android only or also when sending the file from Windows?
The preview code needs to be rewritten and errors need to be catched properly. Sorry for the inconvenience.
I tried Windows to Windows and Windows to Android, both failed.
My rudimentary guess is that when sending pictures, pairdrop seems to render a preview/thumbnail, but my picture's aspect ratio is too extreme so it didn't work.
That’s probably indeed what’s going on as it is going through fine when we bypass the thumbnail creation by changing the extension of the file from .png to .txt.
Anyways, I thought such errors would be catched and the file would then simply be sent without any thumbnail. I have to look into it to know more
Describe the bug I cannot send this file, every time I send it, the other device just disappears.
To Reproduce 1.zip Please uncompress this zip file, and try sending the png file within.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Bug occurs on official PairDrop instance https://pairdrop.net/ Yes, and on dev.pairdrop.net
Bug occurs on self-hosted PairDrop instance Yes
Self-Hosted Setup Proxy: Caddy Deployment:
Version: v1.10.10