From b33172bdd635a52555b038ee6d6196353de7d52e Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Thu, 9 Feb 2017 12:58:34 +0100 Subject: [PATCH] Make IPv6 addresses in special URLs valid I forgot about this in #218. --- url.bs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/url.bs b/url.bs index 6579d359..a9c48254 100644 --- a/url.bs +++ b/url.bs @@ -382,7 +382,8 @@ up to three ASCII digits per sequence, each representing a decimal number XXX should we define the format inline instead just like STD 66? --> -

A valid opaque-host string must be zero or more URL units. +

An valid opaque-host string must be zero or more URL units or: +"[", followed by an IPv6 address string, followed by "]".

This is not part of the definition of valid host string as it requires context to be distinguished.