[pmg-devel] [PATCH pmg-api] fix #1881: increase limit for ids in spam quarantine

Dominik Csapak d.csapak at proxmox.com
Fri Sep 14 14:13:20 CEST 2018


removing the maxLength, now the limiting factor is the http
post size (64k atm), should be enough for a while

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PMG/API2/Quarantine.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/PMG/API2/Quarantine.pm b/PMG/API2/Quarantine.pm
index 2724457..8937241 100644
--- a/PMG/API2/Quarantine.pm
+++ b/PMG/API2/Quarantine.pm
@@ -895,7 +895,6 @@ __PACKAGE__->register_method ({
 		description => 'Unique IDs, seperate with ;',
 		type => 'string',
 		pattern => 'C\d+R\d+T\d+(;C\d+R\d+T\d+)*',
-		maxLength => 600,
 	    },
 	    action => {
 		description => 'Action - specify what you want to do with the mail.',
-- 
2.11.0




More information about the pmg-devel mailing list