]> 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:11:13 +0000 (10:11 -0700)
commite985a41a7ee56a81bbc3150cbb2abb9cf69b0d8a
treea485ef1e8f7dd7a8b040aa80f18b8622f861ca26
parentb7548fb9e2236c20271a40a39b721e314478c431
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