[php-src] Issue #8137: DOMDocument::loadHTML everything after null character is not parsed
| From: | cmb69 | Date: | Tue, 22 Feb 2022 15:42:57 +0000 |
| Subject: | [php-src] Issue #8137: DOMDocument::loadHTML everything after null character is not parsed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239970@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8137
Comment Author: cmb69
NUL bytes are neither valid for XML nor HTML. This is [used by libxml2 to detect the end of the
resource](https://github.com/GNOME/libxml2/blob/master/HTMLparser.c#L4447-L4453); there is nothing
we can do about it.