mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-14 15:09:58 +02:00
Slon/Modules/ActivityPub: Remove invalid newline when building headers for signing GET request
This commit is contained in:
@@ -321,9 +321,9 @@ U0 @slon_activitypub_users_get(SlonHttpSession* session)
|
|||||||
}
|
}
|
||||||
String.Append(scratch_buffer, "%s\n", url->path);
|
String.Append(scratch_buffer, "%s\n", url->path);
|
||||||
String.Append(scratch_buffer, "host: %s\n", url->host);
|
String.Append(scratch_buffer, "host: %s\n", url->host);
|
||||||
String.Append(scratch_buffer, "date: %s\n", http_headers->@("Date"));
|
String.Append(scratch_buffer, "date: %s", http_headers->@("Date"));
|
||||||
if (request_object) {
|
if (request_object) {
|
||||||
String.Append(scratch_buffer, "digest: %s\n", http_headers->@("Digest"));
|
String.Append(scratch_buffer, "\ndigest: %s\n", http_headers->@("Digest"));
|
||||||
String.Append(scratch_buffer, "content-type: %s", http_headers->@("Content-Type"));
|
String.Append(scratch_buffer, "content-type: %s", http_headers->@("Content-Type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user