From 2ee91eb6587191de876dbcf147d99bc9b8c7799d Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 4 Jun 2010 09:14:16 +0800 Subject: [PATCH] Fix handling of apos in URIs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit François Delyon pointed out a divergence between the URI code and RFC 3986, fix trivial and seems to not break regression tests --- uri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uri.c b/uri.c index 950e177b..1ae5768b 100644 --- a/uri.c +++ b/uri.c @@ -127,7 +127,7 @@ static void xmlCleanURI(xmlURIPtr uri); (((*(p) == '!')) || ((*(p) == '$')) || ((*(p) == '&')) || \ ((*(p) == '(')) || ((*(p) == ')')) || ((*(p) == '*')) || \ ((*(p) == '+')) || ((*(p) == ',')) || ((*(p) == ';')) || \ - ((*(p) == '='))) + ((*(p) == '=')) || ((*(p) == '\''))) /* * gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"