1
1
Fork 0

Preparations to work with BCC

This commit is contained in:
Michael 2018-10-24 19:19:51 +00:00
commit 58f82e084d
4 changed files with 19 additions and 6 deletions

View file

@ -406,6 +406,8 @@ class HTTPSignature
}
}
/// @todo Check if the signed date field is in an acceptable range
// Check the content-length when it is part of the signed data
if (in_array('content-length', $sig_block['headers'])) {
if (strlen($content) != $headers['content-length']) {