Cyrilic hashtags not work? #6

Closed
opened 3 years ago by MightyPork · 2 comments
Owner

only latin tags work, cyrillic (for example) don't. Is this welcome as an issue (feature request)?

> only latin tags work, cyrillic (for example) don't. Is this welcome as an issue (feature request)?
MightyPork added the
bug
label 3 years ago
Poster
Owner

It seems the tag is detected correctly:

Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) (@fedigroups@piggo.space) Event: Status { #ABUfUKhz7cpAMq3Oc4, acct: @piggo, status: «test post <a class="hashtag" data-tag="городдлялюдей" href="https://piggo.space/tag/городдлялюдей">#городДляЛюдей</a>», vis: Unlisted }
Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) Handling status #ABUfUKhz7cpAMq3Oc4
Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::command] Raw content: test post <a class="hashtag" data-tag="городдлялюдей" href="https://piggo.space/tag/городдлялюдей">#городДляЛюдей</a>
Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::command] Stripped tags: test post #городДляЛюдей
Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::command] Raw content: test post <a class="hashtag" data-tag="городдлялюдей" href="https://piggo.space/tag/городдлялюдей">#городДляЛюдей</a>
Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::command] Stripped tags: test post #городДляЛюдей
Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) Tags in status: ["городдлялюдей"]
Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) #городдлялюдей is not a group tag
Sep 18 20:02:12 Neon fedigroups[25995]: [2021-09-18T18:02:12Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) (@fedigroups@piggo.space) Event: Heartbeat
Sep 18 20:02:25 Neon fedigroups[25995]: [2021-09-18T18:02:25Z DEBUG fedigroups::group_handler] (@hob@piggo.space) (@hob@piggo.space) Event: Heartbeat
It seems the tag is detected correctly: ```none Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) (@fedigroups@piggo.space) Event: Status { #ABUfUKhz7cpAMq3Oc4, acct: @piggo, status: «test post <a class="hashtag" data-tag="городдлялюдей" href="https://piggo.space/tag/городдлялюдей">#городДляЛюдей</a>», vis: Unlisted } Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) Handling status #ABUfUKhz7cpAMq3Oc4 Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::command] Raw content: test post <a class="hashtag" data-tag="городдлялюдей" href="https://piggo.space/tag/городдлялюдей">#городДляЛюдей</a> Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::command] Stripped tags: test post #городДляЛюдей Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::command] Raw content: test post <a class="hashtag" data-tag="городдлялюдей" href="https://piggo.space/tag/городдлялюдей">#городДляЛюдей</a> Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::command] Stripped tags: test post #городДляЛюдей Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) Tags in status: ["городдлялюдей"] Sep 18 20:02:06 Neon fedigroups[25995]: [2021-09-18T18:02:06Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) #городдлялюдей is not a group tag Sep 18 20:02:12 Neon fedigroups[25995]: [2021-09-18T18:02:12Z DEBUG fedigroups::group_handler] (@fedigroups@piggo.space) (@fedigroups@piggo.space) Event: Heartbeat Sep 18 20:02:25 Neon fedigroups[25995]: [2021-09-18T18:02:25Z DEBUG fedigroups::group_handler] (@hob@piggo.space) (@hob@piggo.space) Event: Heartbeat ```
Poster
Owner

tags work correctly, closing

tags work correctly, closing
MightyPork closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: MightyPork/group-actor#6
Loading…
There is no content yet.