diff options
author | default <nobody@localhost> | 2023-02-14 08:49:17 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-02-14 08:49:17 +0100 |
commit | 1af96788f03d22ad90eee85ec79a1adbb9535ef9 (patch) | |
tree | 2c2e1380153f48bd7f189db624288e765a476285 /activitypub.c | |
parent | e71c72f037d7ec5804cbcfa0b436f81f17c52c1c (diff) |
Even more tweaks to connection reply logging.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index 3965c9a..9624bdf 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1187,8 +1187,9 @@ void process_queue_item(xs_dict *q_item) payload = xs_str_cat(payload, "..."); } - payload = xs_replace_i(payload, "\n", "\\n"); - payload = xs_replace_i(payload, "\r", "\\r"); + /* strip ugly control characters */ + payload = xs_replace_i(payload, "\n", ""); + payload = xs_replace_i(payload, "\r", ""); if (*payload) payload = xs_str_wrap_i(" [", payload, "]"); |