1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-13 13:17:36 +03:00

fix bug #343968, include='text' can't lead to a recursion. Daniel

* xinclude.c: fix bug #343968, include='text' can't lead to a
  recursion.
Daniel
This commit is contained in:
Daniel Veillard 2006-06-06 08:21:41 +00:00
parent c42e9f6409
commit bf630c0d8b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Jun 6 10:23:10 CEST 2006 Daniel Veillard <daniel@veillard.com>
* xinclude.c: fix bug #343968, include='text' can't lead to a
recursion.
Fri Jun 2 22:47:08 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xpath.c: Disabled the compound traversal for the release;

View File

@ -611,7 +611,7 @@ xmlXIncludeAddNode(xmlXIncludeCtxtPtr ctxt, xmlNodePtr cur) {
/*
* Check the URL against the stack for recursions
*/
if (!local) {
if ((!local) && (xml == 1)) {
for (i = 0;i < ctxt->urlNr;i++) {
if (xmlStrEqual(URL, ctxt->urlTab[i])) {
xmlXIncludeErr(ctxt, cur, XML_XINCLUDE_RECURSION,