プロジェクト

全般

プロフィール

Vote #80678

未完了

UTF8 Symbols as Usernames get Truncated

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Accounts / authentication_7
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
7
version_id:
0
issue_org_id:
32972
author_id:
350310
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

i noticed my name was @easter egg@ on this redmine and i wanted it as @easteregg@ but was forced to set a last name, which i choose to set to @


journals

everything in this bugreport got truncated from the first occurence of the utf8 emoji. here is the rest of the report with the unicode symbol replaced with _egg_

h1. full report:

i noticed my name was @easter egg@ on this redmine and i wanted it as @easteregg@ but was forced to set a last name, which i choose to set to @_egg_@ which is @U+1F95A@

more info at: https://www.fileformat.info/info/unicode/char/1f95a/index.htm

this gets completly removed from my name, and when applied to both, i have no clickable username.
if the username string will be truncated it should be checked afterswards, if my name is valid - in this case non-zero length!

for demonstration purposes, i leave my name set to a zero length string :)

i wonder if this might be related to the database backend.
i tested it on my installation with 4.1.0 and a postgresql 12.1 database as backend with the locale set to @en_US.UTF-8@ and the _egg_ will be printed
--------------------------------------------------------------------------------
the preview funktion works fine btw, this occurs only if its passed through the database, so i suspect it to be databaserelated.
--------------------------------------------------------------------------------
Solution: Convert table to utf8mb and set in file database.yml "encoding: utf8mb4"
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリAccounts / authentication_7 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0