[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#179123: marked as done (bad function decode_header_string() in global.inc)

Your message dated Tue, 13 Sep 2005 10:08:03 +0200
with message-id <20050913080803.GC1577@diziet.irb.hr>
and subject line aeromail removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 31 Jan 2003 00:26:46 +0000
>From zappi@zappitec.com.br Thu Jan 30 18:26:45 2003
Return-path: <zappi@zappitec.com.br>
Received: from hm61.locaweb.com.br [] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 18eP12-0006dh-00; Thu, 30 Jan 2003 18:26:45 -0600
Received: (qmail 18308 invoked from network); 31 Jan 2003 00:26:48 -0000
Received: from hm47.locaweb.com.br (
  by hm61.locaweb.com.br with QMTP; 31 Jan 2003 00:26:48 -0000
Received: (qmail 20186 invoked from network); 31 Jan 2003 00:26:35 -0000
Received: from unknown (HELO debian) (zappi@zappitec.com.br@
  by hm47.locaweb.com.br with SMTP; 31 Jan 2003 00:26:35 -0000
Received: from localhost
	([] helo=zappitec.com.br ident=paulo)
	by debian with esmtp (Exim 3.35 #1 (Debian))
	id 18eP0y-0000AR-00
	for <submit@bugs.debian.org>; Thu, 30 Jan 2003 22:26:40 -0200
Message-ID: <3E39C2BD.6010101@zappitec.com.br>
Date: Thu, 30 Jan 2003 22:26:37 -0200
From: Paulo Zappi <zappi@zappitec.com.br>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: pt-br, en-us, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: bad function decode_header_string() in global.inc
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.3 required=5.0

Package: aeromail
Version: 1.45-1

The current function decode_header_string() in file global.inc is unable to
handle decoding of multiple elements. It checks only for one "=?" 
substring at the beginning
of the text to decode. If there are multiple elements to decode, the 
function fails to decode the subsequent

As a suggestion, I would replace function decode_header_string() with 
the following:

function decode_header_string($hed_str)

        $output = "Empty String";
            $output = "";
            for($i=0; $i < count($element); $i++) {
                    $output .= $element[$i]->text;

        return $output;

The function above appears to decode the elements correctly.

I'm using debian 3.0, kernel 2.4.18-k7 and php4 v. 4.1.2-6

Received: (at 179123-done) by bugs.debian.org; 13 Sep 2005 08:08:47 +0000
>From mvela@irb.hr Tue Sep 13 01:08:47 2005
Return-path: <mvela@irb.hr>
Received: from mail.irb.hr [] (UNKNOWN)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EF5qQ-00040Z-00; Tue, 13 Sep 2005 01:08:46 -0700
Received: from diziet.irb.hr (diziet.irb.hr [])
	by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id j8D87tS1027861;
	Tue, 13 Sep 2005 10:07:55 +0200
Received: from diziet.irb.hr (localhost [])
	by diziet.irb.hr (8.13.4/8.13.4/Debian-4) with ESMTP id j8D883Up029639;
	Tue, 13 Sep 2005 10:08:03 +0200
Received: (from mvela@localhost)
	by diziet.irb.hr (8.13.4/8.13.4/Submit) id j8D883WA029637;
	Tue, 13 Sep 2005 10:08:03 +0200
Date: Tue, 13 Sep 2005 10:08:03 +0200
From: Matej Vela <vela@debian.org>
To: 120548-done@bugs.debian.org, 127115-done@bugs.debian.org,
        164482-done@bugs.debian.org, 179123-done@bugs.debian.org,
        250801-done@bugs.debian.org, 311119-done@bugs.debian.org
Subject: aeromail removed
Message-ID: <20050913080803.GC1577@diziet.irb.hr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.10i
X-Scanned-By: MIMEDefang 2.51 on
Delivered-To: 179123-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
X-CrossAssassin-Score: 4

aeromail has been removed from Debian because no one adopted it since
January 2004, and because it is unusable with the default configuration
of PHP.  ilohamail provides a lightweight alternative.  For details,
see <http://bugs.debian.org/326164>.

Reply to: