zyouchi
(ひさし)
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)
2 באוגוסט, 2018, 1:25pm
2
Could you post a link to a forum where this is happening?
zyouchi
(ひさし)
2 באוגוסט, 2018, 1:29pm
3
Thank you for your quick reply!
לייק 1
gerhard
(Gerhard Schlager)
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
zyouchi
(ひさし)
2 באוגוסט, 2018, 1:41pm
5
My problem is that the topic’s URL is not correctly recognized as a URL after being tweeted!
3 לייקים
gerhard
(Gerhard Schlager)
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 לייקים
zyouchi
(ひさし)
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
(ひさし)
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)
4 באוגוסט, 2018, 12:03am
10
So we need to urlencode it before passing off to share?
4 לייקים
zyouchi
(ひさし)
4 באוגוסט, 2018, 3:52am
11
Yes
I think that Chinese and Korean have similar problems as well!
3 לייקים
zyouchi
(ひさし)
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 לייקים
sam
(Sam Saffron)
9 באוגוסט, 2018, 11:14pm
15
@misaka4e21 can you have a at this?
4 לייקים
misaka4e21
(Yihan "Misaka 0x4e21" X.)
10 באוגוסט, 2018, 7:19am
17
11 לייקים
gerhard
(Gerhard Schlager)
נסגר ב־
22 באפריל, 2019, 6:55pm
18
PR has been merged in August 2018