Merge pull request #57004 from nextcloud/fix/taskprocessing-increase-text-limit

fix(TaskProcessing): Increase EShapeType::Text limit to 256_000 KB
pull/56292/merge
Marcel Klehr 2025-12-15 12:48:53 +07:00 committed by GitHub
commit b15e294a6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -82,7 +82,7 @@ enum EShapeType: int {
*/
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)) {