mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 15:27:12 +00:00
1 parent
bcdbc01dc0
commit
237ac4a330
8 files changed
+28
-14
No files matched your search
@@ -94,12 +94,11 @@ static NSArray *photoTags = nil;
|
||||
}
|
||||
|
||||
response = [context response];
|
||||
[response setHeader: @"application/octet-stream; charset=utf-8"
|
||||
[response setHeader: @"application/directory; charset=utf-8"
|
||||
forKey: @"content-type"];
|
||||
filename = [NSString stringWithFormat: @"%@.ldif",
|
||||
[sourceFolder displayName]];
|
||||
disposition = [NSString stringWithFormat: @"attachment; filename=\"%@\"",
|
||||
[filename asQPSubjectString: @"utf-8"]];
|
||||
[[sourceFolder displayName] asQPSubjectString: @"utf-8"]];
|
||||
disposition = [NSString stringWithFormat: @"attachment; filename=\"%@\"", filename];
|
||||
[response setHeader: disposition forKey: @"Content-Disposition"];
|
||||
[response setContent: [content dataUsingEncoding: NSUTF8StringEncoding]];
|
||||
|
||||
|
||||
Reference in new issue
Block a user