Fixed file names in export, fixed crash in calendar export (nmap)

Monotone-Parent: bf532fa24ea4975a9b011b8c5956f67c0bb4c585
Monotone-Revision: 887faee9965f210d3622bac3e22440794bfd1ed5

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-09-22T17:24:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-09-22 17:24:25 +00:00
parent 59931862ff
commit ced6bfdeee
3 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -80,8 +80,8 @@
}
}
filename = [NSString stringWithFormat: @"attachment;filename=%@.ldif",
[self labelForKey: @"Contacts"]];
filename = [NSString stringWithFormat: @"attachment;filename=\"%@.ldif\"",
[folder displayName]];
response = [context response];
[response setHeader: @"text/directory; charset=utf-8"
forKey: @"content-type"];