]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg...
authorBrion Vibber <brion@pobox.com>
Mon, 20 Dec 2010 18:46:23 +0000 (10:46 -0800)
committerBrion Vibber <brion@pobox.com>
Mon, 20 Dec 2010 18:46:23 +0000 (10:46 -0800)
plugins/OStatus/classes/FeedSub.php

index 140f323846498c91817d6dc59a20d083dbebd04d..b34d7cd8542b8eda3ff2cacec4507cf6ad2f50b5 100644 (file)
@@ -487,7 +487,7 @@ class FeedSub extends Memcached_DataObject
                 if ($their_hmac === $our_hmac) {
                     return true;
                 }
-                common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bad SHA-1 HMAC: got $their_hmac, expected $our_hmac");
+                common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bad SHA-1 HMAC: got $their_hmac, expected $our_hmac for feed $this->uri on $this->huburi");
             } else {
                 common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bogus HMAC '$hmac'");
             }