Skip to content

v15.1.16

Choose a tag to compare

@SorinGFS SorinGFS released this 29 Aug 17:29

Performance

Add a validated fast path for non-reserved ASCII LDH hostnames. Hostnames whose labels contain only ASCII letters, digits, and internal hyphens, satisfy the 63-character label and 253-character presentation limits, and do not contain -- in positions 3 and 4 now avoid Unicode mapping, Punycode, contextual, and bidi validation.

Reserved labels, including xn-- A-label candidates, continue through the complete IDNA pipeline. idnHostname continues to apply UTS #46 mapping when producing output, including lowercase conversion of uppercase ASCII input.

Verification

  • All 108 package tests passed.
  • All 6,077 applicable nontransitional Unicode 15.1 IdnaTestV2.txt vectors passed.