We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc4c318 commit afe98b7Copy full SHA for afe98b7
ext/soap/php_xml.c
@@ -92,6 +92,7 @@ xmlDocPtr soap_xmlParseFile(const char *filename TSRMLS_DC)
92
PG(allow_url_fopen) = old_allow_url_fopen;
93
if (ctxt) {
94
ctxt->keepBlanks = 0;
95
+ ctxt->options -= XML_PARSE_DTDLOAD;
96
ctxt->sax->ignorableWhitespace = soap_ignorableWhitespace;
97
ctxt->sax->comment = soap_Comment;
98
ctxt->sax->warning = NULL;
@@ -133,6 +134,7 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size)
133
134
*/
135
ctxt = xmlCreateMemoryParserCtxt(buf, buf_size);
136
137
138
139
140
0 commit comments