December 30, 2004

Cannot decode specific subject header

Mozilla cannot decode the following subject line (this mail is a span mail).

Return-path: <Tahiti@gpu.com>
Delivery-date: Wed, 29 Dec 2004 17:11:43 +0900
From: =?utf-8?q?hiHrwabdul?= <Tahiti@gpu.com>
To: =?utf-8?q?Shlilk Tskychd?= <xxxxx@xxxxx>
Subject: =?utf-8?q?=E3=82=A2=E3=83=A1=E3?=
 =?utf-8?q?=83=AA=E3=83=AA=E3=82?=
 =?utf-8?q?=AB=E5=8E=9A=E7=94=9F?=
 =?utf-8?q?=E7=9C=81=E5=85=AC=E8?=
 =?utf-8?q?=AA=8D!!=E3=83=9A=E2?=
 =?utf-8?q?=97=8B=E3=82=B9=E5=A2?=
 =?utf-8?q?=97=E5=A4=A7=E8=96=AC?=
 =?utf-8?q?!!,?=
Date: Wed, 29 Dec 2004 03:16:47 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
     boundary="UgEjTHUqiUY57cLlDoEqJ"

You know, this subject header is pretty broken. Because UTF-8 string is line break halfway. Should we consider this for span detection??

Trackback URL: http://www.mozilla-x86-64.com/mt/mt-tb.cgi/29