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 24236fb commit 904d220Copy full SHA for 904d220
ext/soap/php_xml.c
@@ -92,7 +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;
+ ctxt->options &= ~XML_PARSE_DTDLOAD;
96
ctxt->sax->ignorableWhitespace = soap_ignorableWhitespace;
97
ctxt->sax->comment = soap_Comment;
98
ctxt->sax->warning = NULL;
@@ -134,7 +134,7 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size)
134
*/
135
ctxt = xmlCreateMemoryParserCtxt(buf, buf_size);
136
137
138
139
140
0 commit comments