gnu-social/plugins/OStatus/lib
Brion Vibber 5f5d9518bd Avoid spewing giant debug backtrace into exception in certain OStatus subscription failure cases.
The code pattern 'new XXXException($e)' to chain exceptions doesn't actually work as intended, as exceptions are actually expecting a string message here.
This caused an implicit string conversion from HTTP_Request2_Exception, which is a PEAR_Exception, which defines an absurdly detailed __toString() method including a giant HTML table with a backtrace if you happen to be on a web request.
Simply passing $e->getMessage() instead clears this up, as we'll get the nice short message like 'Couldn't connect to tcp://blahblah:80'
2010-05-04 17:11:43 -07:00
..
discovery.php Fixing HTTP Header LRDD parsing (sites in subdirectories need this) 2010-03-22 13:45:13 -04:00
discoveryhints.php Avoid notices for accessing undefined array indices in hcard processing 2010-03-19 15:54:54 -07:00
feeddiscovery.php Avoid spewing giant debug backtrace into exception in certain OStatus subscription failure cases. 2010-05-04 17:11:43 -07:00
hubconfqueuehandler.php - break OMB profile update pings to a background queue 2010-02-24 20:36:36 +00:00
huboutqueuehandler.php OStatus PuSH fixlets: 2010-02-21 14:28:06 -08:00
linkheader.php Fixing HTTP Header LRDD parsing (sites in subdirectories need this) 2010-03-22 13:45:13 -04:00
magicenvelope.php move base64_url_(encode|decode) to static functions in Magicsig 2010-03-26 13:37:46 -04:00
ostatusqueuehandler.php Put all required field setup into AtomUserNoticeFeed and AtomGroupNoticeFeed, consolidating some code. (RSS feeds pulling title, logo etc from the Atom data structure so we don't dupe it.) 2010-03-03 16:33:20 -08:00
pushinqueuehandler.php OStatus: abort processing of this PuSH in item if we got an exception, rather than letting it be re-run. 2010-02-25 02:43:20 +00:00
salmon.php removing some extraneous debug logging 2010-02-26 16:26:04 -05:00
salmonaction.php MagicEnvelope::parse shouldn't be called statically 2010-02-26 17:09:50 -05:00
salmonqueuehandler.php move signing to take a local actor profile and use local keys 2010-02-26 14:22:49 -05:00
xrd.php Don't spew XML parse warnings to output when checking a remote XRD page 2010-03-23 14:18:45 -07:00
xrdaction.php use canonical user url in xrd 2010-03-15 15:17:31 -04:00