telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.88k stars 5.13k forks source link

Link address unexpectedly truncated #1072

Closed JokerQyou closed 9 years ago

JokerQyou commented 9 years ago

Some website, like the Netease Music, is more like a webapp than a ordinary website. These website use hash to locate resources, e.g., NetEase Music uses link like http://music.163.com/#/m/song?id=22746144 to specify a song, by viewing that webpage you can directly see the details of that song and listen to it.

But I just found that tdesktop seems to truncate the hash part of these links. If I send that link to someone, the text is okay, but the link address is parsed as http://music.163.com/, anything after the hash (and the hash itself) are gone. Thus the people who received my message will only be able to see the home page if they click it.

JokerQyou commented 9 years ago

As seen in #1061 , links seem to be parsed on Telegram server now?

auchri commented 9 years ago

Yes, they are parsed on the server

JokerQyou commented 9 years ago

Hmm, and how can I send a feedback about this to Telegram? I found neither feedback links on their website, nor feedback repo on GitHub.

telegramdesktop commented 9 years ago

I can't get it work the way you describe: image

Click leads me to that address, which then turns to that one: image

JokerQyou commented 9 years ago

@telegramdesktop Well I and one of my friends both have this problem, and we're both using tdesktop 0.8.52 on Windows 10 professional 64bit. Once I sent that link to my friend, I cannot open that page by clicking the link; 'Copy link' results in the correct address, but 'Open link' does not.

I've not tested it on my Mac. I'll do it once I get home (in 2 hours), and let you know the result.

BTW, that makes me think it's a client-side issue.

JokerQyou commented 9 years ago

Ok. Confirmed: this issue only occurs on Windows.

telegramdesktop commented 9 years ago

@JokerQyou what browser do you use? Microsoft Edge on Windows 10 opens url correctly, but Google Chrome does not, I'm afraid it is Chrome issue: if you press Win+R (Run command dialog), paste your url:

http://music.163.com/#/m/song?id=22746144

in that dialog and hit OK:

image

Google Chrome will still open just "http://music.163.com/" :(

auchri commented 9 years ago

Chromium bug: https://code.google.com/p/chromium/issues/detail?id=157184

JokerQyou commented 9 years ago

Thanks for your help. :)

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.