[PR #15488] Display Unicode URIs side-by-side with their Punycode encoding #30655

Closed
opened 2026-01-31 09:42:08 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/15488

State: closed
Merged: Yes


06174a9 didn't properly fix the issue of us showing homoglyphs in our
URI tooltip. This commit introduces a different approach where we
display both, the Punycode and Unicode encoding, whenever we encounter
an IDN. This isn't perfect but simple to implement.

Closes #15432

Validation Steps Performed

  • https://www.xn--fcbook-3nf5b.com/ (which contains confusing glyphs)
    is shown both in its Punycode and Unicode form simultaneously.
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15488 **State:** closed **Merged:** Yes --- 06174a9 didn't properly fix the issue of us showing homoglyphs in our URI tooltip. This commit introduces a different approach where we display both, the Punycode and Unicode encoding, whenever we encounter an IDN. This isn't perfect but simple to implement. Closes #15432 ## Validation Steps Performed * `https://www.xn--fcbook-3nf5b.com/` (which contains confusing glyphs) is shown both in its Punycode and Unicode form simultaneously. ✅
claunia added the pull-request label 2026-01-31 09:42:08 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30655