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
diff --git a/uri.c b/uri.c
index 6e43fc9..27a6991 100644
--- a/uri.c
+++ b/uri.c
@@ -898,7 +898,7 @@
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;