Open acran opened 1 year ago
This is a shot at fixing #336.
Problem:
null byte
xdebug
xml2js
sax
For more details see https://github.com/gwomacks/php-debug/issues/336#issuecomment-1221543795.
Solution: replace all null byte entities in the XML string before passing it to xml2js
This is a shot at fixing #336.
Problem:
null byte
in their class namesxdebug
encodes thisnull byte
in its XML messages - producing actually invalid XMLxml2js
/sax
is unable to parse this XMLFor more details see https://github.com/gwomacks/php-debug/issues/336#issuecomment-1221543795.
Solution: replace all
null byte
entities in the XML string before passing it toxml2js