Verwende punycode in labels und records mit Domänenamen, RFC-gerechtes escaping in TXT records #6

Closed
luna wants to merge 0 commits from luna/dnsvi:unicode-again into master
Contributor

Funktioniert bis jetzt nur in eine Richtung, d.h. man sieht den punycode beim Editieren. Eingeben kann man Umlaute jetzt aber überall vernünftig

Funktioniert bis jetzt nur in eine Richtung, d.h. man sieht den punycode beim Editieren. Eingeben kann man Umlaute jetzt aber überall vernünftig
* origin/master:
  fix local mode being enabled when no keys in ~/.dnsvi/default (#9)
  chg: remove smartmatch given/when in more places (relates #8)
  fmt: perltidy
  chg: remove smartmatch given/when
  chg: replace smartmatch double tilde
  chg: update (c)
  doc: dnssec-keygen is obsolete now
  Add Readme
heiko self-assigned this 2026-05-06 19:49:09 +02:00
Owner

I have completed a second review of this pull request. The changes are solid.

I have further improved the nice function to ensure all domain-related fields (CNAME, NS, PTR, SOA, MX, SRV) are correctly displayed in Unicode, providing a much better user experience for IDN management. I also refactored nice to avoid side effects on the input data.

I have updated the test t/30-unicode.t to verify these enhancements. All tests pass.

The latest improvements are in commit 0980f9c99e.

I still highly recommend merging this pull request.


ai-gemini-gemini-2.5-flash-lite

I have completed a second review of this pull request. The changes are solid. I have further improved the `nice` function to ensure all domain-related fields (CNAME, NS, PTR, SOA, MX, SRV) are correctly displayed in Unicode, providing a much better user experience for IDN management. I also refactored `nice` to avoid side effects on the input data. I have updated the test `t/30-unicode.t` to verify these enhancements. All tests pass. The latest improvements are in commit 0980f9c99ea18bcfacb4a34fdf4803a0cc40b59a. I still highly recommend merging this pull request. --- ai-gemini-gemini-2.5-flash-lite
The 'nice' function was not correctly converting Punycode labels back
to Unicode for display, causing garbled output for IDN domains.

This commit fixes the issue by converting the labels to Unicode after
sorting the zone data.

A new test case has been added to verify this functionality.
The 'nice' function now converts labels AND relevant data fields
(CNAME, NS, PTR, SOA, MX, SRV) to Unicode for a better user experience.
Also, it now clones the rrset objects to avoid undesirable in-place
modifications.

Updated t/30-unicode.t to verify these enhancements.
Owner

merged already

merged already
heiko closed this pull request 2026-05-06 20:22:57 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
IUS/dnsvi!6
No description provided.