(fix) strip '<>' from bodyId and when forwarding mails

This commit is contained in:
Ludovic Marcotte
2022-11-04 23:24:38 +01:00
committed by leecher1337
parent 2a67e12d55
commit 26e84aad4b
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1250,7 +1250,7 @@ struct GlobalObjectId {
{
if ([[value objectForKey: @"bodyId"] length])
{
[s appendFormat: @"<ContentId>%@</ContentId>", [[value objectForKey: @"bodyId"] activeSyncRepresentationInContext: context]];
[s appendFormat: @"<ContentId>%@</ContentId>", [[[value objectForKey: @"bodyId"] stringByTrimmingCharactersInSet: [NSCharacterSet characterSetWithCharactersInString: @"<>"]] activeSyncRepresentationInContext: context]];
[s appendFormat: @"<IsInline>%d</IsInline>", 1];
}
+7 -1
View File
@@ -1,6 +1,11 @@
4.0.1 (2018-03-XX)
4.0.5 (2018-MM-DD)
------------------
Bug fixes
- [eas] strip '<>' from bodyId and when forwarding mails
4.0.1 (2018-07-10)
------------------
Bug fixes
- [web] prevent deletion of special folders using del key
- [eas] improved alarms syncing with EAS devices (#4351)
@@ -2710,3 +2715,4 @@ Bug Fixes
Local variables:
mode: text
End: