[libxml2] Fix handling of apos in URIs
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix handling of apos in URIs
- Date: Fri, 4 Jun 2010 01:15:49 +0000 (UTC)
commit 2ee91eb6587191de876dbcf147d99bc9b8c7799d
Author: Daniel Veillard <veillard redhat com>
Date: Fri Jun 4 09:14:16 2010 +0800
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
uri.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/uri.c b/uri.c
index 950e177..1ae5768 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 = ":" / "/" / "?" / "#" / "[" / "]" / "@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]