The following bug has been CLOSED ====================================================================== http://dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000116 ====================================================================== Reported By: paul Assigned To: aaron ====================================================================== Project: DBMail Bug ID: 116 Category: IMAP daemon Reproducibility: always Severity: major Priority: normal Status: closed ====================================================================== Date Submitted: 08-Nov-04 10:31 CET Last Modified: 13-Dec-04 11:35 CET ====================================================================== Summary: _ic_rename crashes on apostrophe in mailbox name Description: imap command RENAME will fail when target mailbox contains apostrophe due to insufficient quoting of query.
2 RENAME "client/company/people" "client/company/who's who" dbmysql.c,db_query: query [SELECT mailbox_idnr FROM dbmail_mailboxes WHERE name='client/company/who's who' AND owner_idnr='16'] failed ====================================================================== ---------------------------------------------------------------------- aaron - 08-Nov-04 19:29 CET ---------------------------------------------------------------------- The symptoms aren't a duplicate, but the fix is the same as the apostrophe's in email addresses. I went through and escaped everything I could find in dbmail_2_0_branch. I've also got code for HEAD that I thought I committed already, but I guess I didn't. Will get on that this week. Please test that this really is fixed in dbmail_2_0_branch -- I only tested that it works with deliveries, not with IMAP. Bug History Date Modified Username Field Change ====================================================================== 08-Nov-04 10:31paul New Bug 08-Nov-04 19:29aaron Bugnote Added: 0000349 08-Nov-04 19:29aaron duplicate_id 0 => 104 08-Nov-04 19:29aaron Assigned To => aaron 08-Nov-04 19:29aaron Resolution open => duplicate 08-Nov-04 19:29aaron Status new => resolved 13-Dec-04 11:35ilja Status resolved => closed ======================================================================
