core-wg / href

Other
2 stars 0 forks source link

inconsistent definition of reg-name? #25

Closed thomas-fossati closed 2 years ago

thomas-fossati commented 2 years ago

reg-name is one or more here:

C4.   A registered name is a sequence of one or more _labels_ [...]

but zero or more here:

host-name   = (*text) ; lowercase, NFC labels
cabo commented 2 years ago

3986 allows empty hostnames:

   reg-name      = *( unreserved / pct-encoded / sub-delims )

So it seems to me that C4 needs to be relaxed.

chrysn commented 2 years ago

The constraints will need some overhaul in general when we're through with the mechanisms (esp. as they are barely constraints any more).