Opened 4 years ago

Closed 4 years ago

#1485965 closed Bugs (fixed)

Can't open attachement.

Reported by: llevet Owned by:
Priority: 5 Milestone: 0.3-stable
Component: MIME parsing Version: 0.2.2
Severity: major Keywords: Attachement
Cc:

Description

Hi,

I can't open some mail with attachement. The mail is marked with attachement and when i open this mail, no attachement is presented.
Opening this mail with thunderbird with no problem and i have the attachement.

Same result with 0.2.1 and TRUNK-R2628

This is a exemple mail :

Return-Path: <aeroclub.hispano@ourdomain.fr>
Received: from murder ([unix socket])
	 by filenet (Cyrus v2.3.11-Fedora-RPM-2.3.11-1.fc9) with LMTPA;
	 Sun, 07 Jun 2009 07:31:09 +0200
X-Sieve: CMU Sieve 2.3
Received: from filenet.mydomain.org (filenet.mydomain.org [127.0.0.1])
	by filenet.mydomain.org (Postfix) with ESMTP id 83D1C116071
	for <llevet@mydomain.org>; Sun,  7 Jun 2009 07:31:09 +0200 (CEST)
Authentication-Results: filenet; 
X-DKIM-Authentication-Results: none
Received-SPF: None (no SPF record) identity=mailfrom; client-ip=138.231.168.28; helo=mailbis.lge.ens-cachan.fr; envelope-from=aeroclub.hispano@ourdomain.fr; receiver=llevet@mydomain.org 
Received: from mailbis.lge.ens-cachan.fr (mail.lge.ens-cachan.fr [138.231.168.28])
	by filenet.mydomain.org (Postfix) with ESMTP
	for <llevet@mydomain.org>; Sun,  7 Jun 2009 07:31:08 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by mailbis.lge.ens-cachan.fr (Postfix) with ESMTP id 7B9747F5DD
	for <llevet@mydomain.org>; Sun,  7 Jun 2009 07:31:07 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at lge.ens-cachan.fr
Received: from mailbis.lge.ens-cachan.fr ([127.0.0.1])
	by localhost (mailbis.lge.ens-cachan.fr [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id tTFhlOgp5Xet for <llevet@mydomain.org>;
	Sun,  7 Jun 2009 07:31:06 +0200 (CEST)
Received: from free.fr (LRouen-151-71-61-64.w80-15.abo.ourdomain.fr [80.15.4.64])
	by mailbis.lge.ens-cachan.fr (Postfix) with ESMTP id 9A8357F5C9
	for <llevet@mydomain.org>; Sun,  7 Jun 2009 07:30:51 +0200 (CEST)
Received: by free.fr (Postfix, from userid 33)
	id DF44F96CDD; Sun,  7 Jun 2009 07:24:48 +0200 (CEST)
To: llevet@mydomain.org
Subject: Utilisation du Transpondeur , Message de ACHS compose par : Dominique CORTE : 
Date: Sun, 7 Jun 2009 7:24:48 +0200
From: AERO-CLUB newdomain <info@newdomain.com>
Reply-To: AERO-CLUB newdomain <info@newdomain.com>
User-Agent: PHP
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="_----------=_parties2_7c81fb6d6c9c7bc2ed2e892298bc78d1"
Message-Id: <20090607052448.DF44F96CDD@free.fr>

This is a multi-part message in MIME format.
--_----------=_parties2_7c81fb6d6c9c7bc2ed2e892298bc78d1
Content-Type: multipart/alternative;
 boundary="_----------=_parties_554243a45ac42038f2c06910ea0da516"

--_----------=_parties_554243a45ac42038f2c06910ea0da516
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Voir document joint

---------------------------------------------------------------------------------
Note de publication

Si vous ne désirez plus recevoir les messages du club, vous pouvez décocher la case « Recevoir la lettre d’information e-mail de l’aéro-club » 
Cette fonction est accessible depuis l’espace membre, Votre Profil

Cordialement

D. C



--_----------=_parties_554243a45ac42038f2c06910ea0da516
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Voir document joint<br><br>---------------------------------------------------------------------------------<br>Note de publication<br><br>Si vous ne d&eacute;sirez plus recevoir les messages du club, vous pouvez d&eacute;cocher la case &laquo; Recevoir la lettre d’information e-mail de l’a&eacute;ro-club &raquo; <br>Cette fonction est accessible depuis l’espace membre, Votre Profil<br><br>Cordialement<br><br>D. CORTE<br><br>
--_----------=_parties_554243a45ac42038f2c06910ea0da516--

--_----------=_parties2_7c81fb6d6c9c7bc2ed2e892298bc78d1
Content-Type: application/x-unknown-content-type; name="UTILISATION DU TRANSPONDEUR.pdf"
Content-Transfer-Encoding: base64
Content-Disposition:attachement; filename="UTILISATION DU TRANSPONDEUR.pdf"



<DATA DATA .....>


--_----------=_parties2_7c81fb6d6c9c7bc2ed2e892298bc78d1--

Change History (1)

comment:1 Changed 4 years ago by alec

  • Milestone changed from later to 0.3-stable
  • Resolution set to fixed
  • Status changed from new to closed

There's a typo in attachment part Content-Disposition, but I've changed code to handle this properly. Fixed in [b0d56e93].

Note: See TracTickets for help on using tickets.