TelegramMessenger / TelegramMessenger/Telegram-iOS
[Firefox] Urls without protocol specified can't be opened in browser
Nobody has claimed this yet.
- 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
Using Firefox as default browser for opening links. In Telegram when I click on url that doesn't have a protocol in it (e.g. example.com) it opens a Firefox with a blank page.
Expected Behavior
Telegram should provide a protocol in the url so that Firefox can open it. So that when I click on url example.com, Telegram passes it as http://example.com to Firefox.
Actual Behavior
When I click on url without protocol (e.g. example.com) it opens a Firefox with a blank page.
Steps to Reproduce
- Open Telegram.
- Go to Settings and set Firefox as default browser for opening links.
- Go to "Saved messages".
- Send yourself a message:
example.com. - Click on a link in sent message.
- Observe Firefox opening a new blank tab without url.
Environment
Device: iPhone 7
iOS version: 13.4.1
App version: 6.1.2
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 issue on an iPhone running iOS 13.4.1 with Firefox set as the default browser, using a protocol-less URL such as example.com from Saved Messages. Trace the link-opening path and verify that the completed change opens the URL with a protocol instead of a blank Firefox tab.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100