mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-28 23:14:57 +03:00
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
This commit is contained in:
2
uri.c
2
uri.c
@@ -127,7 +127,7 @@ static void xmlCleanURI(xmlURIPtr uri);
|
|||||||
(((*(p) == '!')) || ((*(p) == '$')) || ((*(p) == '&')) || \
|
(((*(p) == '!')) || ((*(p) == '$')) || ((*(p) == '&')) || \
|
||||||
((*(p) == '(')) || ((*(p) == ')')) || ((*(p) == '*')) || \
|
((*(p) == '(')) || ((*(p) == ')')) || ((*(p) == '*')) || \
|
||||||
((*(p) == '+')) || ((*(p) == ',')) || ((*(p) == ';')) || \
|
((*(p) == '+')) || ((*(p) == ',')) || ((*(p) == ';')) || \
|
||||||
((*(p) == '=')))
|
((*(p) == '=')) || ((*(p) == '\'')))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
|
* gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
|
||||||
|
|||||||
Reference in New Issue
Block a user