Skip to content

Commit 9d141f9

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
2 parents fa65f5e + 4a91f66 commit 9d141f9

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ PHP NEWS
1010
. Fixed #69044 (discrepency between time and microtime). (krakjoe)
1111
. Updated timelib to 2018.02. (Derick)
1212

13+
- Libxml:
14+
. Fixed bug #78279 (libxml_disable_entity_loader settings is shared between
15+
requests (cgi-fcgi)). (Nikita)
16+
1317
- LiteSpeed:
1418
. Updated to LiteSpeed SAPI V7.4.3 (increased response header count limit from
1519
100 to 1000, added crash handler to cleanly shutdown PHP request, added

ext/libxml/libxml.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -877,13 +877,14 @@ static PHP_RINIT_FUNCTION(libxml)
877877
xmlSetGenericErrorFunc(NULL, php_libxml_error_handler);
878878
xmlParserInputBufferCreateFilenameDefault(php_libxml_input_buffer_create_filename);
879879
xmlOutputBufferCreateFilenameDefault(php_libxml_output_buffer_create_filename);
880-
881-
/* Enable the entity loader by default. This ensures that
882-
* other threads/requests that might have disabled the loader
883-
* do not affect the current request.
884-
*/
885-
LIBXML(entity_loader_disabled) = 0;
886880
}
881+
882+
/* Enable the entity loader by default. This ensures that
883+
* other threads/requests that might have disabled the loader
884+
* do not affect the current request.
885+
*/
886+
LIBXML(entity_loader_disabled) = 0;
887+
887888
return SUCCESS;
888889
}
889890

0 commit comments

Comments
 (0)