forked from GNUsocial/gnu-social
Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke
This commit is contained in:
parent
24f9a991b6
commit
c71d701a3f
@ -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'");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user