Skip to content

Commit b15e294

Browse files
authored
Merge pull request #57004 from nextcloud/fix/taskprocessing-increase-text-limit
fix(TaskProcessing): Increase EShapeType::Text limit to 256_000 KB
2 parents db530d1 + 0745731 commit b15e294

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)