mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
fix to the fix for #141864 from Paul Elseth apply fix from David Gatwood
* xmlIO.c: fix to the fix for #141864 from Paul Elseth * HTMLparser.c result/HTML/doc3.htm: apply fix from David Gatwood for #141195 about text between comments. Daniel
This commit is contained in:
4
xmlIO.c
4
xmlIO.c
@ -2230,8 +2230,8 @@ xmlOutputBufferCreateFilename(const char *URI,
|
||||
|
||||
puri = xmlParseURI(URI);
|
||||
if (puri != NULL) {
|
||||
if ((puri->scheme == NULL) ||
|
||||
(xmlStrEqual(BAD_CAST puri->scheme, BAD_CAST "file")))
|
||||
if ((puri->scheme != NULL) &&
|
||||
(!xmlStrEqual(BAD_CAST puri->scheme, BAD_CAST "file")))
|
||||
is_file_uri = 0;
|
||||
/*
|
||||
* try to limit the damages of the URI unescaping code.
|
||||
|
Reference in New Issue
Block a user