[request-tracker-maintainers] Bug#416474: request-tracker3.6:
double-UTF8-encoding in the web interface
Niko Tyni
ntyni at iki.fi
Wed Mar 28 09:54:48 UTC 2007
Package: request-tracker3.6
Version: 3.6.1-4
Severity: normal
Tags: upstream patch
Hi,
while investigating #416097 / #387104 (UTF8 problems with SpeedyCGI),
I noticed a small encoding problem with mod_perl too.
When viewing text/plain content behind the 'Download' link in the
ticket view, non-ascii characters are double-UTF8-encoded.
This comes from html/Ticket/Attachment/dhandler calling
$AttachmentObj->OriginalContent().
The bug is not present in 3.4.5. I believe the attached patch reverts this
regression from 3.4. I'll forward it upstream after some more testing.
(I suspect even attempting decode_utf8() on the next line is wrong
and will always fail, but this is the minimal fix.)
Cheers,
--
Niko Tyni ntyni at iki.fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: utf8.patch
Type: text/x-diff
Size: 502 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-request-tracker-maintainers/attachments/20070328/248c3c33/utf8.bin
More information about the pkg-request-tracker-maintainers
mailing list