Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking more URL schemes #28364

Closed
Dietr1ch opened this issue Sep 7, 2024 · 2 comments
Closed

Linking more URL schemes #28364

Dietr1ch opened this issue Sep 7, 2024 · 2 comments

Comments

@Dietr1ch
Copy link

Dietr1ch commented Sep 7, 2024

Is your feature request related to a problem?

Protocols other than http/https are not linked, like ftp://user:password@host:port/path, steam://launch/730 or todo://new/task?=buyMilk

Describe the solution you'd like

Support linking custom URL schemes is added, and text like ftp://user:password@host:port/path or steam://launch/730 becomes a link on sent messages.

IANA has a list of URL schemes, but today many apps use their own custom ones.

Describe alternatives you've considered

Not adding support, or using a whitelist. Having a whitelist might seem like a security feature at first, but if http:// links to fake and shady things are already allowed, then I don't think it's a real concern.

Additional context

ftp:// and steam:// are not linked,
image

Lists of URI schemes

@ilya-fedin
Copy link
Contributor

Link detection is server side. Clients just respect entities

@Dietr1ch
Copy link
Author

Dietr1ch commented Sep 7, 2024

Thanks for triaging it.

I found this on the API side: https://bugs.telegram.org/c/41466

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants