Skip to content

Commit b74eedd

Browse files
marcelklehrbackportbot[bot]
authored andcommitted
fix(TaskProcessing): Increase EShapeType::Text limit to 256_000 KB
Signed-off-by: Marcel Klehr <[email protected]>
1 parent d286fef commit b74eedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/public/TaskProcessing/EShapeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private function validateNonFileType(mixed $value): void {
8282
*/
8383
public function validateInput(mixed $value): void {
8484
$this->validateNonFileType($value);
85-
if ($this === EShapeType::Text && is_string($value) && strlen($value) > 64_000) {
85+
if ($this === EShapeType::Text && is_string($value) && strlen($value) > 512_000) {
8686
throw new ValidationException('Text is too long');
8787
}
8888
if ($this === EShapeType::Image && !is_numeric($value)) {

0 commit comments

Comments
 (0)