News for hackers. Stuff that matters.
Re:OpenBSD now enforcing no invalid NUL characters in shell ... by jancsika on Tuesday September 24, 2024 @11:33AM (#41637655)
Am I correct that malformed pages in xhtml would have triggered the browser to output a red XML error and fail to render the page at all?
Re:OpenBSD now enforcing no invalid NUL characters in shell ... by Calavar on Tuesday September 24, 2024 @12:07PM (#41638061)
Yes, but only if you served the XHTML with the proper MIME type of application/xhtml+xml. Nearly everyone served it as text/html, which would lead to the document being intepreted as this weird pseudo XHTML/HTML4 hybrid dialect with all sorts of brower idiosyncrasies [1].

[1] https://www.hixie.ch/advocacy/xhtml