Closed CodaFi closed 6 years ago
Tests?
Not sure how best to test this given our infrastructure...
I could plumb a primitive mangler thru and add FileCheck tests
I think it’s fine as-is, and we can test this along with the mangler.
Harlan has agreed to put up the mangler
⛵️
What's in this pull request?
A clean, modern implementation of Punycode from RFC 3492 - something you’d think would be a library by now. We are using Swift’s encoding table (lowers and 10 uppers) because the default table uses lowercase letters and numbers and those will conflict with the mangling.
Goes a ways towards #104