applied patch from Mikhail Zabaluev fixing the conditions of unescaping
* xmlIO.c: applied patch from Mikhail Zabaluev fixing the conditions
of unescaping from URL to filepath, should fix #344588.
Daniel
diff --git a/xmlIO.c b/xmlIO.c
index 25f3bb1..fe50a4e 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -2463,7 +2463,8 @@
/*
* try to limit the damages of the URI unescaping code.
*/
- if (puri->scheme != NULL)
+ if ((puri->scheme == NULL) ||
+ (xmlStrEqual(BAD_CAST puri->scheme, BAD_CAST "file")))
unescaped = xmlURIUnescapeString(URI, 0, NULL);
xmlFreeURI(puri);
}