Skip to content

FEATURE: Fixing IDN support for domains#3879

Merged
tlimoncelli merged 8 commits intomainfrom
tlim_idn
Dec 4, 2025
Merged

FEATURE: Fixing IDN support for domains#3879
tlimoncelli merged 8 commits intomainfrom
tlim_idn

Conversation

@tlimoncelli
Copy link
Copy Markdown
Contributor

Issue

The previous fix had backwards compatibility issues and treated uppercase Unicode incorrectly.

Resolution

  • Don't call strings.ToUpper() on Unicode strings. Only call it on the output of ToASCII.
  • Fix BIND's "filenameformat" to be more compatible (only breaks if you had uppercase unicode in a domain name... which you probably didn't)
  • Change IDN to ASCII in most places (Thanks for the suggestion, @KaiSchwarz-cnic!)
  • Update BIND documentation

@tlimoncelli tlimoncelli mentioned this pull request Dec 2, 2025
@tlimoncelli
Copy link
Copy Markdown
Contributor Author

CC @cafferata for documentation review.

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes detected by Check Git Status Action

@tlimoncelli
Copy link
Copy Markdown
Contributor Author

@cafferata I need to merge this on a fast schedule to ship the next release this week. However I'd appreciate your feedback on the doc change after the fact. Thanks!

@tlimoncelli tlimoncelli merged commit c11a523 into main Dec 4, 2025
22 checks passed
@tlimoncelli tlimoncelli deleted the tlim_idn branch December 4, 2025 01:32
tlimoncelli added a commit that referenced this pull request Dec 4, 2025
# Issue

The previous fix had backwards compatibility issues and treated
uppercase Unicode incorrectly.

# Resolution

* Don't call strings.ToUpper() on Unicode strings. Only call it on the
output of ToASCII.
* Fix BIND's "filenameformat" to be more compatible (only breaks if you
had uppercase unicode in a domain name... which you probably didn't)
* Change IDN to ASCII in most places (Thanks for the suggestion,
@KaiSchwarz-cnic!)
* Update BIND documentation
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.

1 participant