Corrupted binary attachments with RT 3.0.9

Hello RT users,

This seems to have come up on the mailing lists before, but I haven’t
seen any official determination of the cause, or any resolution, yet.

We’re experiencing corruption of ‘binary’ attachments to RT tickets (PCX
and GIF images, mostly), either through email or directly through the
web interface. It looks as though all bytes in the attachment data with
the high bit set are being converted to 2 different bytes, probably the
UTF-8 representation of the old byte.

This is with RT 3.0.9, Perl 5.8.2, MySQL 4.0.18 and Apache 1.3.29 on a
FreeBSD 4.8-RELEASE-p20 system. We’re happy to upgrade if it will fix
the problem, or I can set up a separate installation to test possible
fixes. Can also supply examples of original and corrupted files on
request.

Cheers,

Scott Mitchell

Hello RT users,

This seems to have come up on the mailing lists before, but I haven’t
seen any official determination of the cause, or any resolution, yet.

We’re experiencing corruption of ‘binary’ attachments to RT tickets
(PCX
and GIF images, mostly), either through email or directly through the
web interface. It looks as though all bytes in the attachment data
with
the high bit set are being converted to 2 different bytes, probably the
UTF-8 representation of the old byte.

This is with RT 3.0.9, Perl 5.8.2, MySQL 4.0.18 and Apache 1.3.29 on a

There’s a bug in the join() function in perl that was fixed in 5.8.3
that was the cause of this issue.

Jesse

In the immortal words of Jesse Vincent (jesse@bestpractical.com):

There’s a bug in the join() function in perl that was fixed in 5.8.3
that was the cause of this issue.

This seems to come up an awful lot. Maybe RT should just flat-out
refuse to install on perl <5.8.3?

-n

-----------------------------------------------------------memory@blank.org
"So perhaps the factor constraining the Internet’s growth is “good taste.”
(–Paul Vixie)
http://blank.org/memory/---------------------------------------------------

I think you have to be on perl 5.8.3 . We are running 3.0.9 RT and have 5.8.3
perl. 5.8.2 had a perl bug that RT found and it probably would relate to your
situation. The archives as you know can be an adventure.

Hello RT users,

This seems to have come up on the mailing lists before, but I haven’t
seen any official determination of the cause, or any resolution, yet.

We’re experiencing corruption of ‘binary’ attachments to RT tickets (PCX
and GIF images, mostly), either through email or directly through the
web interface. It looks as though all bytes in the attachment data with
the high bit set are being converted to 2 different bytes, probably the
UTF-8 representation of the old byte.

This is with RT 3.0.9, Perl 5.8.2, MySQL 4.0.18 and Apache 1.3.29 on a
FreeBSD 4.8-RELEASE-p20 system. We’re happy to upgrade if it will fix
the problem, or I can set up a separate installation to test possible
fixes. Can also supply examples of original and corrupted files on
request.

Cheers,

Scott Mitchell


The rt-users Archives

Be sure to check out the RT wiki at http://wiki.bestpractical.com

Scott Mitchell wrote:

We’re experiencing corruption of ‘binary’ attachments to RT
tickets (PCX
and GIF images, mostly), either through email or directly through the
web interface. It looks as though all bytes in the
attachment data with
the high bit set are being converted to 2 different bytes,
probably the
UTF-8 representation of the old byte.

This seems to have been fixed after upgrading Perl to 5.8.5.

Many thanks to everyone who replied with the correct fix!

Cheers,

Scott