Bug 17025 - attachment bug
Summary: attachment bug
Status: CLOSED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 1.1.99
Platform: unspecified Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-13 17:33 UTC by Yngve Lien
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yngve Lien 2000-12-13 17:24:18 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kmail
Version: 1.1.99 (KDE 2.0.1)
Severity: grave
Compiler: gcc version 2.95.2 19991024 (release)
OS: Linux 2.2.14 i686 (SuSE)

This is a very interesting bug I discovered in a postscript attatchment. When kmail fetched the
mail from the remote server(solaris god knows which version) it added another full stop in the middle
of the file. Consequently I couldn't view the file. This did however not happen when I 
sent the mail to the local computer(i.e. the one I read my email from).
Nor did I have any problems using netscape.

Using diff to compare the attachment fetched with netscape and the attachment fetched 
with kmail on the remote server I got:

---------
#:~ > diff dvdkmailremote.ps dvdnetscaperemote.ps
68c68
< ..1 sub]{ch-image}imagemask restore}B /D{/cc X dup type /stringtype ne{]}
---
> .1 sub]{ch-image}imagemask restore}B /D{/cc X dup type /stringtype ne{]}
4177d4176
<
\ No newline at end of file  

----------
NOTICE THE EXTRA STOP

I you want a copy of the file in question then please tell mee and I will send it to you
quickly as possible. Didn't include it here as i thought it would amount to spamming to
add it to the bottom of the mail.

Good luck

Yngve
Comment 1 Michael Haeckel 2000-12-13 17:49:41 UTC
On Wednesday 13. December 2000 18:24 Yngve Lien wrote:
>
> This is a very interesting bug I discovered in a postscript attatchment.
> When kmail fetched the mail from the remote server(solaris god knows whi=
ch
> version) it added another full stop in the middle of the file. Consequent=
ly
> I couldn't view the file. This did however not happen when I sent the
> mail to the local computer(i.e. the one I read my email from). Nor did I
> have any problems using netscape.

I know what's going on. That problem appears only with pop3.
All lines that start with an dot have there an extra dot prepended by the p=
op=20
server because a single dot means the end of the message and KMail didn't=
=20
remove that dots.
I already fixed that problem some time ago in the HEAD branch but not in KD=
E=20
2.0.1 since I didn't consider it that grave.

Regards
Michael Haeckel