zyouchi
(ひさし)
2 augustus 2018 om 13:23
1
Hello, I would like to ask you about Slug 's Japanese response.
If I choose encoding with slug generation method, the URL will be in Japanese, but when trying to tweet from the site share button, url will not be recognized correctly.
Does anyone have a solution?
gerhard
(Gerhard Schlager)
2 augustus 2018 om 13:25
2
Could you post a link to a forum where this is happening?
zyouchi
(ひさし)
2 augustus 2018 om 13:29
3
Thank you for your quick reply!
1 like
gerhard
(Gerhard Schlager)
2 augustus 2018 om 13:38
4
What browser / OS is showing the issue? Can you post steps to reproduce the issue?
It looks alright to me.
1 like
zyouchi
(ひさし)
2 augustus 2018 om 13:41
5
My problem is that the topic’s URL is not correctly recognized as a URL after being tweeted!
3 likes
gerhard
(Gerhard Schlager)
2 augustus 2018 om 13:46
6
Oh, I didn’t try to tweet it. I guess Twitter doesn’t support such URLs. Maybe we should always share the URL without slug in that case.
2 likes
zyouchi
(ひさし)
2 augustus 2018 om 13:58
7
Regarding the choice of encoding with slug generation method, I think that discourse needs to encode url and shorten it in terms of posting function to SNS.
So this is Twitter’s bug, not ours?
zyouchi
(ひさし)
3 augustus 2018 om 06:40
9
This is not twitter’s bug.
When sharing with Twitter, since url is recognized as a character string, Twitter can not be recognized as a URL.
My problem is that the topic’s URL is not correctly recognized as a URL after being tweeted!
[image]
riking
(Kane York)
4 augustus 2018 om 00:03
10
So we need to urlencode it before passing off to share?
4 likes
zyouchi
(ひさし)
4 augustus 2018 om 03:52
11
Yes
I think that Chinese and Korean have similar problems as well!
3 likes
zyouchi
(ひさし)
9 augustus 2018 om 09:30
12
When is this bug resolved?
It is not a Bug, it is a Feature request.
I expect it will be resolved once a suitable Pull Request is submitted.
2 likes
sam
(Sam Saffron)
9 augustus 2018 om 23:14
15
@misaka4e21 can you have a at this?
4 likes
misaka4e21
(Yihan "Misaka 0x4e21" X.)
10 augustus 2018 om 07:19
17
11 likes
gerhard
(Gerhard Schlager)
gesloten
22 april 2019 om 18:55
18
PR has been merged in August 2018