simplify RFC-compat hostame spec
This commit is contained in:
parent
c79518125b
commit
9f1a457c24
@ -43,7 +43,7 @@ ipv6-zone:failpass = ipv6 "%25" zone-id; // RFC6874
|
|||||||
registry-name-rfc:failpass = (unreserved | percent-encoded | subdelimiter)*; // all RFC chars allowed
|
registry-name-rfc:failpass = (unreserved | percent-encoded | subdelimiter)*; // all RFC chars allowed
|
||||||
dns-label:alias:failpass = (alpha | digit) ("-"* (alpha | digit)+)*;
|
dns-label:alias:failpass = (alpha | digit) ("-"* (alpha | digit)+)*;
|
||||||
domain-name:failpass = dns-label ("." dns-label)* "."?; // DNS compatible
|
domain-name:failpass = dns-label ("." dns-label)* "."?; // DNS compatible
|
||||||
hostname-rfc = ipv4 | "[" (ipv6 | ipv6-zone) "]" | registry-name-rfc;
|
hostname-rfc = registry-name-rfc;
|
||||||
hostname = ipv4 | "[" (ipv6 | ipv6-zone) "]" | domain-name;
|
hostname = ipv4 | "[" (ipv6 | ipv6-zone) "]" | domain-name;
|
||||||
port = digit*;
|
port = digit*;
|
||||||
host-rfc:alias:failpass = hostname-rfc (":" port)?;
|
host-rfc:alias:failpass = hostname-rfc (":" port)?;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user