mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 20:37:14 +00:00
(feat) you can now limit the file upload size using WOMaxUploadSize
This commit is contained in:
1 parent
e47bc8cb1b
commit
1f71cff18d
4 files changed
+17
No files matched your search
@@ -590,6 +590,12 @@ static NSArray *infoKeys = nil;
|
||||
request = [context request];
|
||||
|
||||
httpBody = [[request httpRequest] body];
|
||||
|
||||
// We got an exception from SOPE - most likely due to
|
||||
// WOMaxUploadSize being reached.
|
||||
if ([httpBody isKindOfClass: [NSException class]])
|
||||
return httpBody;
|
||||
|
||||
filenames = [self _scanAttachmentFilenamesInRequest: httpBody];
|
||||
|
||||
co = [self clientObject];
|
||||
|
||||
Reference in new issue
Block a user