com php-src: - Fix merge: ext/soap/php_xml.c
| From: | Felipe Pena | Date: | Mon, 16 Feb 2015 15:09:40 +0000 |
| Subject: | com php-src: - Fix merge: ext/soap/php_xml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84933@lists.php.net to get a copy of this message | ||
Commit: 35a68c276dd7c12e52751cb66300e85355472e8d
Author: Felipe Pena <felipensp@gmail.com> Mon, 16 Feb 2015 13:09:40 -0200
Parents: dbf7d525a5226adee586333ea9ffb1d61f8b5489
Branches: PHP-5.5 PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=35a68c276dd7c12e52751cb66300e85355472e8d
Log:
- Fix merge
Changed paths:
M ext/soap/php_xml.c
Diff:
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c
index 8a61efb..6eb92c6 100644
--- a/ext/soap/php_xml.c
+++ b/ext/soap/php_xml.c
@@ -100,6 +100,9 @@ xmlDocPtr soap_xmlParseFile(const char *filename TSRMLS_DC)
ctxt->sax->warning = NULL;
ctxt->sax->error = NULL;
/*ctxt->sax->fatalError = NULL;*/
+#if LIBXML_VERSION >= 20703
+ ctxt->options |= XML_PARSE_HUGE;
+#endif
old = php_libxml_disable_entity_loader(1 TSRMLS_CC);
xmlParseDocument(ctxt);
php_libxml_disable_entity_loader(old TSRMLS_CC);