Skip to content

Commit

Permalink
Prevent too big payloads for clipboard data
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandijck committed Dec 2, 2024
1 parent b246ad8 commit 1293650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Payloads/LogPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct($values, $rawValues = [])

$this->meta = [
[
'clipboard_data' => $this->getClipboardData($rawValues),
'clipboard_data' => substr($this->getClipboardData($rawValues), 0, 20000),
],
];

Expand Down

0 comments on commit 1293650

Please sign in to comment.