diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-04-14 22:00:22 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-04-14 22:00:22 +0000 |
commit | eb475a37df2e37a2a9675eeb84db6de3222649cc (patch) | |
tree | 7cd5dcb86bb56689f37c17b65d985a62ffdffdd2 /uri.c | |
parent | 9b731d709ee99b59b815d51ad80ebba409f0f20d (diff) | |
download | android_external_libxml2-eb475a37df2e37a2a9675eeb84db6de3222649cc.tar.gz android_external_libxml2-eb475a37df2e37a2a9675eeb84db6de3222649cc.tar.bz2 android_external_libxml2-eb475a37df2e37a2a9675eeb84db6de3222649cc.zip |
fixing bug #78662 i.e. add proper escaping of URI when saving HTML files.
* HTMLtree.c uri.c: fixing bug #78662 i.e. add proper
escaping of URI when saving HTML files.
* result/HTML/*: this impacted some tests
Daniel
Diffstat (limited to 'uri.c')
-rw-r--r-- | uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -898,7 +898,7 @@ xmlURIEscapeStr(const xmlChar *str, const xmlChar *list) { ch = *in; - if ( (!IS_UNRESERVED(ch)) && (!xmlStrchr(list, ch)) ) { + if ((ch != '@') && (!IS_UNRESERVED(ch)) && (!xmlStrchr(list, ch))) { unsigned char val; ret[out++] = '%'; val = ch >> 4; |