Skip to content

[Bug] Incorrect file name encoding from iOS devices #398

@MrPropre

Description

@MrPropre

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:

  1. Share a file with é or ' (latin special characters) in the name.
  2. See the name not displayed correctly in the share mode.
  3. On the receiver device, the name is not displayed correctly too
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions