Open Bug 2012551 Opened 5 months ago Updated 5 months ago

Double Punycode prefix tests fail

Categories

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

defect

Tracking

()

People

(Reporter: hsivonen, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

The failing tests are:

ToASCII("xn--xn--a--gua.pt") V4; V2 (ignored)
ToASCII("xn--xn---epa") V4; V2 (ignored)

I noticed those tests also fail in Servo.
Running the rust-url parser code, it seems it parses sucessfully.

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=89155180832066701aa70144738cb923

So the problem is probably in the IDNA crate, which we use in Firefox too.

Blocks: url
Severity: -- → S3
Priority: -- → P3
Whiteboard: [necko-triaged]
You need to log in before you can comment on or make changes to this bug.