Skip to content

Conversation

nick1udwig
Copy link
Member

Problem

You can register names with unicode characters in them through the frontend (which will warn but not prevent it).

Solution

Use the punycode-normalized text for the input.

Testing

Try minting with a special character like ü on main and here.

Docs Update

None

Notes

I saw some mint tx.s fail; not sure if that is related to this PR, not sure why it would be.

@nick1udwig nick1udwig requested a review from dr-frmr August 24, 2024 04:55
@nick1udwig nick1udwig merged commit a16059d into develop Aug 26, 2024
@nick1udwig nick1udwig deleted the hf/convert-punycode-properly-on-fe branch August 26, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants