]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Suppress PHP warnings/notices during AtomPub XML parsing to avoid HTTP header problem...
authorBrion Vibber <brion@pobox.com>
Tue, 15 Mar 2011 17:09:20 +0000 (10:09 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 15 Mar 2011 17:09:20 +0000 (10:09 -0700)
commit9e9cbdf505e9ec66c7e9d60bfe170f8d41a146e2
tree12f09fa72d29e0d3c218fd140e1601cf842520a6
parent7f4a9c4145f272fa389480ae09e0c24229f324d5
Suppress PHP warnings/notices during AtomPub XML parsing to avoid HTTP header problems when given bad input.

If display_errors is on, typical settings would cause PHP error messages to spew to output before the HTTP headers for setting a 400 error go through.
Also switched from deprecated static DOMDocument::loadXML() to non-static call.
actions/apitimelineuser.php