Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

problem with attachment filename and umlauts

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


cloos at netcologne

Jun 22, 2012, 6:47 AM

Post #1 of 5 (549 views)
Permalink
problem with attachment filename and umlauts

Hi,

if I upload an attachment with the name "test äöüÄÖÜ.txt" it
ends ab wrong encoded in the DB.
The DB shows as filename "test äöü▒?▒?▒?.txt".

If I send an utf-8 encoded email with this attachment
the DB filename is correct "test äöüÄÖÜ.txt".

If I send an iso-8859-1 encoded email with this attachment the
DB filename is truncated to "test".

DB: MySQL 5.1.63
RT: 3.8.13

Before the upgrade from RT 3.8.6 to 3.8.13 we didn't had the problem.

Chris
--------
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


ruz at bestpractical

Jul 3, 2012, 7:32 AM

Post #2 of 5 (497 views)
Permalink
Re: problem with attachment filename and umlauts [In reply to]

Hi,

Upgrade MIME::Entity module to the latest version. A bug was fixed
there that is relevant.
May be 3.8.x would need backport of a patch from 4.0, but try
upgrading the module
first and return back with results.

On Fri, Jun 22, 2012 at 4:47 PM, Christian Loos <cloos [at] netcologne> wrote:
> Hi,
>
> if I upload an attachment with the name "test äöüÄÖÜ.txt" it
> ends ab wrong encoded in the DB.
> The DB shows as filename "test äöü▒?▒?▒?.txt".
>
> If I send an utf-8 encoded email with this attachment
> the DB filename is correct "test äöüÄÖÜ.txt".
>
> If I send an iso-8859-1 encoded email with this attachment the
> DB filename is truncated to "test".
>
> DB: MySQL 5.1.63
> RT: 3.8.13
>
> Before the upgrade from RT 3.8.6 to 3.8.13 we didn't had the problem.
>
> Chris
> --------
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel



--
Best regards, Ruslan.
--------
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


cloos at netcologne

Jul 9, 2012, 1:36 AM

Post #3 of 5 (485 views)
Permalink
Re: problem with attachment filename and umlauts [In reply to]

Hi,

I updated MIME::Tools to the latest version on CPAN and the filename
"test 2 äöüÄÖÜ.txt" ends up as "test 2
\xC3\x83\xC2\xA4\xC3\x83\xC2\xB6\xC3\x83\xC2\xBC\xC3\x83\xC2\x84\xC3\x83\xC2\x96\xC3\x83\xC2\x9C.txt"
in the DB.
I will try to backport the fix for 4.0 and then report back.

Chris

Am 03.07.2012 16:32, schrieb Ruslan Zakirov:
> Hi,
>
> Upgrade MIME::Entity module to the latest version. A bug was fixed
> there that is relevant.
> May be 3.8.x would need backport of a patch from 4.0, but try
> upgrading the module
> first and return back with results.


--------
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


cloos at netcologne

Jul 11, 2012, 4:25 AM

Post #4 of 5 (477 views)
Permalink
Re: problem with attachment filename and umlauts [In reply to]

Am 09.07.2012 10:36, schrieb Christian Loos:
> Hi,
>
> I updated MIME::Tools to the latest version on CPAN and the filename
> "test 2 äöüÄÖÜ.txt" ends up as "test 2
> \xC3\x83\xC2\xA4\xC3\x83\xC2\xB6\xC3\x83\xC2\xBC\xC3\x83\xC2\x84\xC3\x83\xC2\x96\xC3\x83\xC2\x9C.txt"
> in the DB.
> I will try to backport the fix for 4.0 and then report back.
>
> Chris


Still had no luck with backport commit
06b0d1273c3b87a979fc10cbdd0d5ad8edfadd00 to my 3.8.13.
The result is the same as before.

Any other ideas?

Thanks!

Chris

Christian Loos
Network Documentation & Fibre Management
_________________________________________________________________________
NETCOLOGNE Gesellschaft für Telekommunikation mbH
Am Coloneum 9 | 50829 Köln
Tel: 0221 2222-276 | Fax: 0221 2222-7276 | Mobil: 0177 8888276

www.netcologne.de

Geschäftsführer:
Dr. Hans Konle (Sprecher)
Dipl.-Ing. Karl-Heinz Zankel
Vorsitzender des Aufsichtsrates:
Dr. Andreas Cerbe
HRB 25580, AG Köln


Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Die E-Mail darf in diesem Fall weder vervielfältigt noch in anderer Weise verwendet werden.


--------
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


ruz at bestpractical

Jul 11, 2012, 9:21 AM

Post #5 of 5 (475 views)
Permalink
Re: problem with attachment filename and umlauts [In reply to]

2012/7/11 Christian Loos <cloos [at] netcologne>:
> 06b0d1273c3b87a979fc10cbdd0d5ad8edfadd00

It's support for params continuation. I think you have something
different. Grep git log for filename.


--
Best regards, Ruslan.
--------
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.