Skip to content

Commit

Permalink
fix(eas): improve EAS parameters parsing (fixes #5266)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfux committed Feb 28, 2021
1 parent dd326f9 commit b2008cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ActiveSync/NSString+ActiveSync.m
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ - (NSString *) _valueForParameter: (NSString *) theParameter

// parameter_code 7 == Options
// http://msdn.microsoft.com/en-us/library/ee237789(v=exchg.80).aspx
if (parameter_code == 7)
if (parameter_code == 7 && ! [parameterValue isEqualToString: @"\000"] )
[components addObject: [NSString stringWithFormat: @"%@=%@", [easCommandParameters objectAtIndex: parameter_code],
([parameterValue isEqualToString: @"\001"]) ? @"SaveInSent" : @"AcceptMultiPart"]];
else
Expand Down

0 comments on commit b2008cd

Please sign in to comment.