VM's url matching is too greedy

Ville Skyttä scop at xemacs.org
Mon Sep 24 10:26:30 EDT 2007


On Monday 24 September 2007, Glynn Clements wrote:
>
> According to RFC 3986:
>
>    A host identified by an Internet Protocol literal address, version 6
>    [RFC3513] or later, is distinguished by enclosing the IP literal
>    within square brackets ("[" and "]").  This is the only place where
>    square bracket characters are allowed in the URI syntax.
>
> So, http://[192.168.0.1]/ is technically valid

Um, how so?  192.168.0.1 is an IPv4 address - the above quoted part says 
enclosing in square brackets is allowed for IPv6 and later addresses only.



More information about the XEmacs-Beta mailing list