kevinsir / php-mime-mail-parser

Automatically exported from code.google.com/p/php-mime-mail-parser
0 stars 0 forks source link

Patch for Error in MimeMailParser.class.php with quoted-printable encoding #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hello,

>What steps will reproduce the problem?
Read an EML file with content-transfer-encoding = quoted-printable

>What is the expected output? What do you see instead?
when you get the attachment ($attachment->getContent()) you are getting 
additional chars.
The class is reading too much chars.

>What version of the product are you using? On what operating system?
Using r28/r17(attachment) on Linux.

>Please provide any additional information below.

there is a mistake with the comparison (< vs >).
i think with other encodings you don't have problem, because when decode them 
the additional chars are getting cutted, but not with quoted-printable.

can you confirm?

mfg Johannes

Original issue reported on code.google.com by fe...@ertl-glas.at on 17 Apr 2014 at 4:48

Attachments: