Open GoogleCodeExporter opened 9 years ago
[deleted comment]
I can confirm this problem but from what I've learned it depends not on type of
attachment but its size.
If attached file together with headers and body will be small enough -
attachment will get extra characters appended at the end.
I've attached 1400.txt file which is full email I was using to reproduce the
problem.
Good news is that I was also able to debug and fix this issue so I'm attaching
also a patch against
Original comment by lukasz.w...@gmail.com
on 26 Feb 2013 at 6:35
Attachments:
Awesome thanks!
Original comment by andrew....@gmail.com
on 26 Feb 2013 at 6:37
I just noticed that this bug was already reported a long time ago.
http://code.google.com/p/php-mime-mail-parser/issues/detail?id=7
You should take a look on it as it reveals another problem with decode being
called on partial data.
After all I guess that my fix could be not enough. I will go with approach
proposed by Adrian:
http://code.google.com/p/php-mime-mail-parser/issues/detail?id=7#c7
Original comment by lukasz.w...@gmail.com
on 26 Feb 2013 at 6:44
This issue is reproduced, corrected and tested
(https://github.com/eXorus/php-mime-mail-parser/issues/2)
You could use my fork if you want :
https://github.com/eXorus/php-mime-mail-parser
Original comment by eXorus.m...@gmail.com
on 28 Jul 2013 at 7:20
Original issue reported on code.google.com by
andrew....@gmail.com
on 8 Jan 2013 at 6:06