applied patch from Rob Richards fixing the URI regressions tests on
* uri.c: applied patch from Rob Richards fixing the URI regressions
tests on Windows which seems to indicate bad escaping.
Daniel
diff --git a/uri.c b/uri.c
index 3722311..4ac8b20 100644
--- a/uri.c
+++ b/uri.c
@@ -2419,7 +2419,13 @@
xmlFreeURI(uri);
return(NULL);
}
- ret = xmlSaveUri(uri);
+
+ if (uri->scheme == NULL) {
+ ret = xmlStrdup((const xmlChar *) path);
+ } else {
+ ret = xmlSaveUri(uri);
+ }
+
xmlFreeURI(uri);
#else
ret = xmlStrdup((const xmlChar *) path);