[Bug] Incorrect file name encoding by iOS shortcut
Describe the bug
When I share or send a file from my iPhone, if the name contains characters such as é or ', it is not encoded correctly.
To Reproduce Steps to reproduce the behavior:
- Share a file with
éor'(latin special characters) in the name. - See the name not displayed correctly in the share mode.
- On the receiver device, the name is not displayed correctly too
- If I save this file from the receiver device, it keeps the incorrect name.
Expected behavior The file name should be encoded correctly
Screenshots https://github.com/user-attachments/assets/bf05c70d-4618-43b0-bfae-67d61eaa3762
Smartphone (please complete the following information):
- Device: iPhone 16
- OS: iOS 18.3.1
- Browser: Safari
Bug occurs on official PairDrop instance https://pairdrop.net/ Yes Version: v1.11.2
Additional context It only happens if the device that send the file is on iOS. If I send a file from my Windows laptop, the file name is correct. The device that receives the file is not the problem since I tested between two iPhones and the problem still occurs.
Source: schlagmichdoch/PairDrop