Skip to content

URIReferenceGrammar : is 0.0.0.7.free.fr a valid authority ? #1

@Alix-Martin

Description

@Alix-Martin

Hi there,
I've been URIReferenceGrammar.cpp to parse URL syntax, and I stumbled on this :

the parser considers '0.0.0.7.free.fr' as an invalid authority
yet, it says it is a valid reg_name

this seems to contradict the rules
authority = [ userinfo "@" ] host [ ":" port ]
host = IP-literal / IPv4address / reg-name

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions