Prevent Discord mention injection in delivery payload
This commit is contained in:
@@ -272,6 +272,9 @@ class DeliverNotificationAction implements ShouldQueue
|
||||
->timeout(10)
|
||||
->post($notificationAction->delivery_url, [
|
||||
'content' => $message,
|
||||
'allowed_mentions' => [
|
||||
'parse' => [],
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user