mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +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:
@@ -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>
|
Fri Jun 2 22:47:08 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||||
|
|
||||||
* xpath.c: Disabled the compound traversal for the release;
|
* xpath.c: Disabled the compound traversal for the release;
|
||||||
|
@@ -611,7 +611,7 @@ xmlXIncludeAddNode(xmlXIncludeCtxtPtr ctxt, xmlNodePtr cur) {
|
|||||||
/*
|
/*
|
||||||
* Check the URL against the stack for recursions
|
* Check the URL against the stack for recursions
|
||||||
*/
|
*/
|
||||||
if (!local) {
|
if ((!local) && (xml == 1)) {
|
||||||
for (i = 0;i < ctxt->urlNr;i++) {
|
for (i = 0;i < ctxt->urlNr;i++) {
|
||||||
if (xmlStrEqual(URL, ctxt->urlTab[i])) {
|
if (xmlStrEqual(URL, ctxt->urlTab[i])) {
|
||||||
xmlXIncludeErr(ctxt, cur, XML_XINCLUDE_RECURSION,
|
xmlXIncludeErr(ctxt, cur, XML_XINCLUDE_RECURSION,
|
||||||
|
Reference in New Issue
Block a user