zyouchi
(ひさし)
August 2, 2018, 1:23pm
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)
August 2, 2018, 1:25pm
2
Could you post a link to a forum where this is happening?
zyouchi
(ひさし)
August 2, 2018, 1:29pm
3
Thank you for your quick reply!
1 Like
gerhard
(Gerhard Schlager)
August 2, 2018, 1:38pm
4
What browser / OS is showing the issue? Can you post steps to reproduce the issue?
It looks alright to me.
1 Like
zyouchi
(ひさし)
August 2, 2018, 1:41pm
5
My problem is that the topic’s URL is not correctly recognized as a URL after being tweeted!
3 Likes
gerhard
(Gerhard Schlager)
August 2, 2018, 1:46pm
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
(ひさし)
August 2, 2018, 1:58pm
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
(ひさし)
August 3, 2018, 6:40am
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)
August 4, 2018, 12:03am
10
So we need to urlencode it before passing off to share?
4 Likes
zyouchi
(ひさし)
August 4, 2018, 3:52am
11
Yes
I think that Chinese and Korean have similar problems as well!
3 Likes
zyouchi
(ひさし)
August 9, 2018, 9:30am
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)
August 9, 2018, 11:14pm
15
@misaka4e21 can you have a at this?
4 Likes
misaka4e21
(Yihan "Misaka 0x4e21" X.)
August 10, 2018, 7:19am
17
11 Likes
gerhard
(Gerhard Schlager)
Closed
April 22, 2019, 6:55pm
18
PR has been merged in August 2018