"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "WebUI/Mailer/OGoMailViewers/LSWMimePartViewer.m" between
opengroupware-5.5rc2.tar.gz and opengroupware-5.5rc3.tar.gz

About: OpenGroupware is a branch of the "traditional" OpenGroupware collaboration system (developed in Objective-C on SOPE). Release candidate.

LSWMimePartViewer.m  (opengroupware-5.5rc2):LSWMimePartViewer.m  (opengroupware-5.5rc3)
skipping to change at line 452 skipping to change at line 452
if (tmp != nil) { if (tmp != nil) {
tmp = [[tmp componentsSeparatedByString:@"\\"] lastObject]; tmp = [[tmp componentsSeparatedByString:@"\\"] lastObject];
tmp = [NSString stringWithFormat:@"attachment; filename=\"%@\"", tmp]; tmp = [NSString stringWithFormat:@"attachment; filename=\"%@\"", tmp];
} }
else else
tmp = @"attachment"; tmp = @"attachment";
[response setHeader:[self _checkFor8Bit:tmp] [response setHeader:[self _checkFor8Bit:tmp]
forKey:@"content-disposition"]; forKey:@"content-disposition"];
} }
[response setHeader:[NSString stringWithFormat:@"%d", [content length]] [response setHeader:[NSString stringWithFormat:@"%"PRIuPTR, [content length]]
forKey:@"content-length"]; forKey:@"content-length"];
if (transferEncoding) { if (transferEncoding) {
if ([transferEncoding isEqualToString:@"base64"]) if ([transferEncoding isEqualToString:@"base64"])
content = [content dataByDecodingBase64]; content = [content dataByDecodingBase64];
else if ([transferEncoding isEqualToString:@"quoted-printable"]) else if ([transferEncoding isEqualToString:@"quoted-printable"])
content = [content dataByDecodingQuotedPrintable]; content = [content dataByDecodingQuotedPrintable];
else { else {
[self logWithFormat:@"Unknown content-transfer-encoding: %@", [self logWithFormat:@"Unknown content-transfer-encoding: %@",
transferEncoding]; transferEncoding];
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS