The recent update to 0.3 introduced a plugins/ directory that is now distributed with the software. Unfortunately, the password plugin has a broken SQL driver. According to the documentation, '%d' is supposed to be replaced with the domain part of a username in case the IMAP username is an email address. However, the PHP code just passes the local-part of the username instead. The fix is trivial and should obviously be adopted upstream. Until this is done (I have tried to contact the author), this patch fixes the problem. CVS diff attached. Fix: Apply patch. Patch attached with submission follows: How-To-Repeat: Use an SQL password_query that employs the '%d' expansion. Notice that the local-part (instead of the domain name) is passed to SQL.
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool)
ale 2009-09-10 08:19:29 UTC FreeBSD ports repository Added files: mail/roundcube/files patch-plugins_password_drivers_sql.php Log: Fix password plugin. PR: ports/138687 Submitted by: Sahil Tandon <sahil@tandon.net> Revision Changes Path 1.1 +11 -0 ports/mail/roundcube/files/patch-plugins_password_drivers_sql.php (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!