|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2020-10-22 09:11 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Assigned To:
+Assigned To: cmb
[2020-10-22 09:43 UTC] cmb@php.net
[2020-10-26 12:16 UTC] cmb@php.net
[2020-10-26 12:16 UTC] cmb@php.net
-Status: Verified
+Status: Closed
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 13:00:01 2025 UTC |
Description: ------------ HTML string containing ASCII character \0 breaks DomDocument. Test script: --------------- $dom = new DomDocument; $dom->loadHTML(file_get_contents('http://thenetworksolution.it/a.htm')); echo $dom->saveHtml(); Expected result: ---------------- the whole DOM Actual result: -------------- DOM is truncated after the NUL character