diff --git a/lib/public/TaskProcessing/EShapeType.php b/lib/public/TaskProcessing/EShapeType.php index aafa36a95a6f4..306d285adea18 100644 --- a/lib/public/TaskProcessing/EShapeType.php +++ b/lib/public/TaskProcessing/EShapeType.php @@ -82,7 +82,7 @@ private function validateNonFileType(mixed $value): void { */ public function validateInput(mixed $value): void { $this->validateNonFileType($value); - if ($this === EShapeType::Text && is_string($value) && strlen($value) > 64_000) { + if ($this === EShapeType::Text && is_string($value) && strlen($value) > 512_000) { throw new ValidationException('Text is too long'); } if ($this === EShapeType::Image && !is_numeric($value)) {