Subject Encoding Bug??

Julian Field MailScanner at ecs.soton.ac.uk
Sun Nov 20 15:03:35 GMT 2005


    [ The following text is in the "UTF-8" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well found. Fixed.

Steve Freegard wrote:

>Hi All,
>
>I think I've found a bug - but I'm not sure which piece of the jigsaw is
>causing it.
>
>On a message input to MailScanner with the subject header of:
>
>Subject: =?GB2312?B?t7+12LL6z+7Ev76tvMPGwLzbytay4Q==?=
>
>MailScanner's $message->{subject} at the 'Always Looked Up Last' stage
>contains '1' - I've seen this happen on 39 messages out of 6,136
>messages and I've only seen this on GB2312 and KOI8-R character sets.
>
>Here are the full headers of an example message:
>
>Return-Path: <�g>
>Received: from sina.com ([221.219.134.109])
>     by mail.xxx.com (8.13.1/8.13.1) with ESMTP id jAKCZSn5031525
>     for <xxx at xxx.com>; Sun, 20 Nov 2005 07:35:55 -0500
>Message-Id: <200511201235.jAKCZSn5031525 at mail.xxx.com>
>From: "goutong at sina.com" <goutong at sina.com>
>Subject: =?GB2312?B?t7+12LL6z+7Ev76tvMPGwLzbytay4Q==?=
>To: xxx at xxx.com
>Content-Type: text/html;charset="GB2312"
>Reply-To: goutong at sina.com
>Date: Sun, 20 Nov 2005 20:44:17 +0800
>X-Priority: 3
>X-Mailer: Microsoft Outlook Express 5.50.4133.2400
>
>Any ideas??
>
>Kind regards,
>Steve.
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
>Support MailScanner development - buy the book off the website!
>  
>

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)

iQA/AwUBQ4CQSBH2WUcUFbZUEQL/uACcChy7DzbWjyVFPBrGoc3zHQSs7CUAoP8F
2fZ8r49ZBuV8e8vnQ45e0vBo
=WSev
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list