Skip to content

src: support domains with empty labels in i18n

Summary

The domainToUnicode and the domainToASCII could be used in the middle of parsing the origin, and it means the input values could be a non-final domain name label. Then the converter should ignore the UIDNA_ERROR_EMPTY_LABEL error. Since long domain name labels and long domain names are invalid already, it might not need to ignore UIDNA_ERROR_LABEL_TOO_LONG and UIDNA_ERROR_DOMAIN_NAME_TOO_LONG.

Refs:

Updates
  • src: support domains with empty labels in i18n
  • test: synchronise WPT url test data
Checklist
Affected core subsystem(s)

src, test

Merge request reports

Loading