summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-02-14 08:32:07 +0100
committerdefault <nobody@localhost>2023-02-14 08:32:07 +0100
commite71c72f037d7ec5804cbcfa0b436f81f17c52c1c (patch)
treec4344fa07099f79de2ab2778d3c09339f5e7399b
parente144b0dc67838c99fcfc2c4db75ac0ac54535b2d (diff)
More tweaks to connection reply logging.
-rw-r--r--activitypub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 64db1d9..3965c9a 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1188,6 +1188,7 @@ void process_queue_item(xs_dict *q_item)
}
payload = xs_replace_i(payload, "\n", "\\n");
+ payload = xs_replace_i(payload, "\r", "\\r");
if (*payload)
payload = xs_str_wrap_i(" [", payload, "]");