TelegramMessenger / TelegramMessenger/Telegram-iOS

Hex ServerName not working for MTProto proxy

Open
#249 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

This proxy link with hex server name (0x6DEB43B7) works on telegram desktop or telegram x but not works on main telegram:
https://t.me/proxy?server=0x6DEB43B7&port=1005&secret=7pyplbgayNEr5FvcVrNUueptYWlsLmdvb2dsZS5jb20=

but its normal form (109.235.67.183) work on every type of telegram

https://t.me/proxy?server=109.235.67.183&port=1005&secret=7pyplbgayNEr5FvcVrNUueptYWlsLmdvb2dsZS5jb20=

How can I use hex as server name for main telegram?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior in the main Telegram app using the two proxy links provided, comparing the hexadecimal and decimal server forms. Trace proxy-link parsing and server-name handling in the iOS project; done means hexadecimal server names work consistently with the decimal form.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.