Skip to content

IDNA: possibly use "domain to Unicode" in "valid domain"? #317

@domenic

Description

@domenic

In #309 @rmisev noted that the extra flags were not set in the "valid domain" algorithm's call to ToUnicode. I pushed a fixup that adds them. But maybe it would be better to deduplicate the calls to ToUnicode, similar to what is already done for the calls to ToASCII.

This is not obviously straightforward since I am not sure who uses "domain to Unicode", and I'm not sure why it doesn't return failure on errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions