Same issue
I am having the same issue with 1.7.
I emailed my support mailbox an email with two PNG images attached.
They are successfully piped into osticket.
When I download them, they are corrupt.
The original file looks like this:
00000000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 |.PNG........IHDR|
00000010 00 00 06 40 00 00 03 84 08 02 00 00 00 76 2f 6a |...@.........v/j|
00000020 f5 00 00 00 03 73 42 49 54 08 08 08 db e1 4f e0 |.....sBIT.....O.|
The downloaded file looks like this:
00000000 c2 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 |..PNG........IHD|
00000010 52 00 00 06 40 00 00 03 c2 84 08 02 00 00 00 76 |R...@..........v|
00000020 2f 6a c3 b5 00 00 00 03 73 42 49 54 08 08 08 c3 |/j......sBIT....|
You can see that an additional, extraneous character has been inserted at the very beginning of the file.
Additionally, the file sizes are radically different:
original:
-rw-rw-r-- 1 bazyar bazyar 338544 Apr 15 18 Screenshot from 2013-04-15 18.png
downloaded:
-rw-rw-r-- 1 bazyar bazyar 507639 Apr 15 19 Screenshot_from_2013-04-15_18-45-47.png
So, a whole raft of additional data has been stuck into this file.