summaryrefslogtreecommitdiff
path: root/uri.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2010-06-04 09:14:16 +0800
committerDaniel Veillard <veillard@redhat.com>2010-06-04 09:14:16 +0800
commit2ee91eb6587191de876dbcf147d99bc9b8c7799d (patch)
tree9150d183267dd83cabb426229cc9d70ad0c1d276 /uri.c
parent5b9dde3eed400ce54d5004e1bafd0097297a80ec (diff)
downloadlibxml2-2ee91eb6587191de876dbcf147d99bc9b8c7799d.tar.gz
Fix handling of apos in URIs
François Delyon <f.delyon@satimage.fr> pointed out a divergence between the URI code and RFC 3986, fix trivial and seems to not break regression tests
Diffstat (limited to 'uri.c')
-rw-r--r--uri.c2
1 files changed, 1 insertions, 1 deletions
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 = ":" / "/" / "?" / "#" / "[" / "]" / "@"