Skip to content

Commit

Permalink
Constrain clientName to 255 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ddly committed Jun 26, 2024
1 parent 08d02e0 commit a8d0c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/ApiAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function getHttpResponseCode()

public function setClientName($clientName)
{
$this->clientName = $clientName;
$this->clientName = substr($clientName, 0, 255);
}

public function getClientName()
Expand Down

0 comments on commit a8d0c19

Please sign in to comment.