Remove potential new lines in reported logger instances

- Thanks to @MrKaplan-lw for the investigative work
This commit is contained in:
Hypolite Petovan 2025-01-26 14:09:21 -05:00
parent 258476e14f
commit 0006d838f5
4 changed files with 4 additions and 7 deletions

View file

@ -310,7 +310,7 @@ class Delivery
$atom = DFRN::entries($msgitems, $owner);
}
DI::logger()->debug('Notifier entry: ' . $contact['url'] . ' ' . ($target_item_id ?? 'relocation') . ' entry: ' . $atom);
DI::logger()->debug('Notifier entry', ['url' => $contact['url'], 'target_item_id' => ($target_item_id ?? 'relocation'), 'entry' => $atom]);
$protocol = Post\DeliveryData::DFRN;