jb55 on Nostr: damus caches both name and display_name in nostrdb. If there are special characters ...
damus caches both name and display_name in nostrdb. If there are special characters in the name it doesn't try to convert them into something ascii-legible, but could.
You can't really stop people from putting whatever they want in the name or display_name field, even if its spec'd.
Published at
2024-07-22 15:29:51Event JSON
{
"id": "c7dad7ab9180587e8a450fdb18da8e4d24f2342e8c63abed19e07971a649c6f9",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1721662191,
"kind": 1,
"tags": [
[
"e",
"64ddbc8d6c4762c14f6e46f1dc96a526bae073141f3763b71d40a861a9c471be",
"",
"root"
],
[
"e",
"3b0ebb8c5e7b6312816693d26810329379a2bfe8847f5503c4766d90cbf3107b",
"",
"reply"
],
[
"p",
"604e96e099936a104883958b040b47672e0f048c98ac793f37ffe4c720279eb2"
],
[
"p",
"f8e6c64342f1e052480630e27e1016dce35fc3a614e60434fef4aa2503328ca9"
]
],
"content": "damus caches both name and display_name in nostrdb. If there are special characters in the name it doesn't try to convert them into something ascii-legible, but could.\n\nYou can't really stop people from putting whatever they want in the name or display_name field, even if its spec'd.",
"sig": "84ee139dcc3c8b31f960a3600897817902eb32fdab818a3df1f13c4797082df0f6e4970aa88285874e93b49203a2ca6a90e81ab01523209c3ef24613267cb8fd"
}