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

Mailing List Archive: DBMail: dev

[DBMail 0000626]: Insert into dbmail_headervalue incorrectly parsed content of non-standard From: header

 

 

DBMail dev RSS feed   Index | Next | Previous | View Threaded


bugtrack at dbmail

Jul 28, 2009, 9:59 PM

Post #1 of 1 (519 views)
Permalink
[DBMail 0000626]: Insert into dbmail_headervalue incorrectly parsed content of non-standard From: header

The following issue has been CLOSED
======================================================================
http://dbmail.org/mantis/view.php?id=626
======================================================================
Reported By: Tarick
Assigned To:
======================================================================
Project: DBMail
Issue ID: 626
Category: Database layer
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
target:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 16-Jul-07 12:29 CEST
Last Modified: 29-Jul-09 06:59 CEST
======================================================================
Summary: Insert into dbmail_headervalue incorrectly parsed
content of non-standard From: header
Description:
Broken one:

INSERT INTO dbmail_headervalue (headername_id, physmessage_id,
headervalue) VALUES (4,68324,'"(no space here)\\\\ Name Surname" <"(one
space here) user"@tld>');

but

Valid one:
INSERT INTO dbmail_fromfield (physmessage_id, fromname, fromaddr) VALUES
(68324,'(space here) \\ Name Surname','"(two spaces here) user"@tld');

Original "From:" header (from dspam debug.messages before passing to
dbmail and from Thunderbird sent source of message)

From: " \\ Name Surname" <" user"@tld>
Dbmail strips all spaces more than one to one space from " user"@tld and
from the start of " \\ Name Surname" (i.e. leave one space if one exists
and one if many). In dbmail_fromfield valid values inserted.
======================================================================

----------------------------------------------------------------------
(0002293) Tarick (reporter) - 16-Jul-07 13:06
http://dbmail.org/mantis/view.php?id=626#c2293
----------------------------------------------------------------------
It seems Mantis also strips 2 spaces to 1 in "" construct.

Correction: in steps to reproduce create account with email address: (two
spaces)user [at] tl

Original header in Description:
From: " \\ Name Surname" <"(2 spaces) user"@tld>
Dbmail strips all spaces more than one to one space from "(2 spaces)
user"@tld and from the start of " \\ Name Surname" (i.e. leave one space if
one exists and one if many). In dbmail_fromfield valid values inserted.

Ignore - Mantis test: " (2 spaces)test"

----------------------------------------------------------------------
(0002873) netvulture (developer) - 29-Jul-09 06:59
http://dbmail.org/mantis/view.php?id=626#c2873
----------------------------------------------------------------------
This bug seems to have been fixed somewhere in the 2.3 branch

Issue History
Date Modified Username Field Change
======================================================================
16-Jul-07 12:29 Tarick New Issue
16-Jul-07 13:03 Tarick Note Added: 0002292
16-Jul-07 13:06 Tarick Note Added: 0002293
16-Jul-07 14:25 Tarick Note Deleted: 0002292
05-Oct-07 21:20 nethzt Issue Monitored: nethzt
29-Jul-09 06:59 netvulture Note Added: 0002873
29-Jul-09 06:59 netvulture Status new => closed
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

DBMail dev 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.