Open Bug 1890473 Opened 2 years ago Updated 2 years ago

Remove the ToUnicode operation

Categories

(Core :: Networking: DNS, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: hsivonen, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

We have two non-test calls to the UTS 46 ToUnicode operation: One in URL fixup in the docshell. This should probably be mere label-wise Punycode decode, since it's not about using the string as a domain but about restoring a string that accidentally went through ToASCII. Another one in the front end should probably convert to display IDN instead.

Chances are that adding ToUnicode calls is a bug and callers should convert to display IDN instead. So far, Web-exposed ToUnicode conversions haven't been a thing.

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [necko-triaged][necko-priority-new]
Blocks: url
Whiteboard: [necko-triaged][necko-priority-new] → [necko-triaged]
Depends on: 1908759
You need to log in before you can comment on or make changes to this bug.