Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Normalize domain blocks to punycode #873

Merged
merged 2 commits into from
Oct 1, 2022

Conversation

tsmethurst
Copy link
Contributor

This PR makes it so that domain blocks are always normalized to punycode no matter how you create or check the domain block.

This should make life a bit easier for admins, since now they don't need to worry about whether to block the punycode domain or the unicode domain, both will work.

@tsmethurst tsmethurst merged commit 651303d into main Oct 1, 2022
@tsmethurst tsmethurst deleted the punycode_domain_block_check branch October 1, 2022 15:48
nickspacek pushed a commit to nickspacek/gotosocial that referenced this pull request Nov 3, 2022
* normalize domain blocks to punycode

* normalize -> normalizeDomain
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.

None yet

2 participants