TelegramMessenger / TelegramMessenger/Telegram-iOS
File attachment fails when filename consists special symbols, e.g. %
Open
Nobody has claimed this yet.
bug
- Dominant language
- Swift
- Stars
- 9k
- Forks
- 2.9k
- PR merge metrics
- No merged PRs in 30d
Description
Checklist
- I am reporting an issue in existing functionality that does not work as intended
- I've searched for existing GitHub issues
Description
File attachment fails when filename consists special symbols, e.g. %
Expected Behavior
File should be posted to the chat
Actual Behavior
Nothing happens
Steps to Reproduce
- Save file with % in name to IPhone (can be done for example from email client)
- Go to some chat
- choose "File" from Attachment menu
- tap iCloud Drive
- choose file
- nothing happens
- rename file - delete "%"
- repeat - 1-4
- Everything is ok
Environment
Device: iPhone X
iOS version: 13.3.1
App version: 6.0.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the attachment flow from iCloud Drive with a filename containing %, then trace the iOS file-selection and upload path. Done means the selected file is posted to the chat without renaming it; repeat the same steps with a filename that contains special symbols.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100