diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-10-09 16:04:43 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-10-09 16:04:43 +0200 |
commit | 2845f859c19965691855c66bc18d94a4e06ff329 (patch) | |
tree | f303f79d3495ac282035d9b73623d553333d8158 /ext/xsl/config.w32 | |
parent | f42d7bddc0479651ecf7f9cdf375bba74b609bea (diff) | |
download | php-git-2845f859c19965691855c66bc18d94a4e06ff329.tar.gz |
Fix #30875: xml_parse_into_struct() does not resolve entities
Setting up an empty default handler is not only useless, but actually
harmful, since internal entity-references are not resolved anymore.
From the libexpat docs[1]:
| Setting the handler with this call has the side effect of
| turning off expansion of references to internally defined general
| entities. Instead these references are passed to the default
| handler.
[1] <https://www.xml.com/pub/1999/09/expat/reference.html#setdefhandler>
Diffstat (limited to 'ext/xsl/config.w32')
0 files changed, 0 insertions, 0 deletions