Don't truncate debug log

This commit is contained in:
Jeremy Dormitzer 2018-10-24 07:57:29 -04:00
parent 7b8a35d8b0
commit 3293e50d71

View File

@ -172,7 +172,7 @@ function signature_header( $inbox_url, $actor_id, $date_str ) {
$actor = \pterotype\actors\get_actor( $actor_id );
$key_id = $actor['publicKey']['id'];
$signing_string = get_signing_string( $inbox_url, $date_str );
\pterotype\util\log_var( 'debug.html', $signing_string, false );
\pterotype\util\log_var( 'debug.html', $signing_string );
$signature = \pterotype\pgp\sign_data( $signing_string, $actor_id );
$headers = '(request-target) host date';
return "keyId=\"$key_id\",headers=\"$headers\",signature=\"$signature\"";