(fix) correctly encode filename of attachments over EAS (#3491)

This commit is contained in:
Ludovic Marcotte
2016-02-04 10:37:44 -05:00
parent 24d32ae220
commit e9d24fe0e6
2 changed files with 7 additions and 1 deletions

View File

@@ -1389,7 +1389,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[s appendString: @"<Fetch>"];
[s appendString: @"<Status>1</Status>"];
[s appendFormat: @"<FileReference xmlns=\"AirSyncBase:\">%@</FileReference>", [fileReference stringByEscapingURL]];
[s appendFormat: @"<FileReference xmlns=\"AirSyncBase:\">%@</FileReference>", fileReference];
[s appendString: @"<Properties>"];
[s appendFormat: @"<ContentType xmlns=\"AirSyncBase:\">%@/%@</ContentType>", [[currentBodyPart partInfo] objectForKey: @"type"], [[currentBodyPart partInfo] objectForKey: @"subtype"]];

6
NEWS
View File

@@ -1,3 +1,9 @@
2.3.8 (2016-02-XX)
------------------
Bug fixes
- correctly encode filename of attachments over EAS (#3491)
2.3.7 (2016-01-25)
------------------