mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
(fix) strip '<>' from bodyId and when forwarding mails
This commit is contained in:
@@ -1260,7 +1260,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];
|
||||
}
|
||||
|
||||
|
||||
1
NEWS
1
NEWS
@@ -13,6 +13,7 @@ Bug fixes
|
||||
- [web] fixed folder export when XSRF validation is enabled (#4502)
|
||||
- [web] don't encode filename extension when exporting folders
|
||||
- [core] don't always fetch the sorting columns
|
||||
- [eas] strip '<>' from bodyId and when forwarding mails
|
||||
|
||||
4.0.4 (2018-10-23)
|
||||
------------------
|
||||
|
||||
Reference in New Issue
Block a user