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)u...@tld 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@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev