Skip to content

Commit

Permalink
Don't limit Sieve script to 8KB
Browse files Browse the repository at this point in the history
Fixes #2745
  • Loading branch information
cgx committed Apr 30, 2014
1 parent 8c563c2 commit 4e42a6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Bug fixes
- fixed incorrect XML data conversion with ActiveSync (#2695)
- fixed display of events having a category with HTML entities (#2703)
- fixed display of images in CSS background (#2437)
- fixed limitation of Sieve script size (#2745)

2.2.3 (2014-04-03)
------------------
Expand Down
2 changes: 1 addition & 1 deletion SoObjects/SOGo/SOGoSieveManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ - (NSString *) sieveScriptWithRequirements: (NSMutableArray *) newRequirements
int count, max;
NSDictionary *currentScript;

sieveScript = [NSMutableString stringWithCapacity: 8192];
sieveScript = [NSMutableString string];

ASSIGN (requirements, newRequirements);
[scriptError release];
Expand Down

0 comments on commit 4e42a6a

Please sign in to comment.