mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
try to find more places where xmlCanonicPath() must be used to convert
* DOCBparser.c SAX.c catalog.c debugXML.c parser.c: try to find more places where xmlCanonicPath() must be used to convert filenames to URLs, trying to fix #111088 Daniel
This commit is contained in:
@ -1754,7 +1754,7 @@ xmlShellLoad(xmlShellCtxtPtr ctxt, char *filename,
|
||||
#ifdef LIBXML_XPATH_ENABLED
|
||||
ctxt->pctxt = xmlXPathNewContext(doc);
|
||||
#endif /* LIBXML_XPATH_ENABLED */
|
||||
ctxt->filename = (char *) xmlStrdup((xmlChar *) filename);
|
||||
ctxt->filename = (char *) xmlCanonicPath((xmlChar *) filename);
|
||||
} else
|
||||
return (-1);
|
||||
return (0);
|
||||
|
Reference in New Issue
Block a user