Fix folder export when XSRF validation is enabled

Fixes #4502
This commit is contained in:
Francis Lachapelle committed 2018-11-23 14:20:33 -05:00
1 parent bcdbc01dc0
commit 237ac4a330
8 files changed
+28 -14

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@
[response setHeader: @"text/calendar; charset=utf-8"
forKey: @"content-type"];
disposition = [NSString stringWithFormat: @"attachment; filename=\"%@.ics\"",
[folderICS displayName]];
[[folderICS displayName] asQPSubjectString: @"utf-8"]];
[response setHeader: disposition forKey: @"Content-Disposition"];
return response;