From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergey Poznyakoff Newsgroups: gmane.comp.gnu.mailutils.bugs,gmane.emacs.devel Subject: Re: syntax for movemail (mailutils), apop, rmail Date: Tue, 14 Oct 2008 16:44:39 +0300 Organization: GNU.org.ua Message-ID: <20081014164439.24809@Pirx.gnu.org.ua> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1804289383-1223991862=:24808" X-Trace: ger.gmane.org 1223992038 32113 80.91.229.12 (14 Oct 2008 13:47:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 13:47:18 +0000 (UTC) Cc: bug-mailutils@gnu.org, emacs-devel@gnu.org To: Original-X-From: bug-mailutils-bounces+gcgmb-bug-mailutils=gmane.org@gnu.org Tue Oct 14 15:48:10 2008 Return-path: Envelope-to: gcgmb-bug-mailutils@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KpkDo-0000Ep-1L for gcgmb-bug-mailutils@gmane.org; Tue, 14 Oct 2008 15:46:00 +0200 Original-Received: from localhost ([127.0.0.1]:56484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpkCj-000317-Gz for gcgmb-bug-mailutils@gmane.org; Tue, 14 Oct 2008 09:44:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpkCb-0002z5-1b for bug-mailutils@gnu.org; Tue, 14 Oct 2008 09:44:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpkCZ-0002y6-17 for bug-mailutils@gnu.org; Tue, 14 Oct 2008 09:44:44 -0400 Original-Received: from [199.232.76.173] (port=60157 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpkCY-0002y1-TY; Tue, 14 Oct 2008 09:44:42 -0400 Original-Received: from pirx.gnu.org.ua ([213.130.0.24]:55134) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpkCW-0002pD-QP; Tue, 14 Oct 2008 09:44:41 -0400 X-Mailutils-Message-Id: m9EDidr5024812 Original-Received: from Pirx.gnu.org.ua (localhost [127.0.0.1]) by Pirx.gnu.org.ua with ESMTP id m9EDidr5024812; Tue, 14 Oct 2008 16:44:39 +0300 Original-Received: (from gray@localhost) by Pirx.gnu.org.ua (8.14.3/8.12.10/Submit) id m9EDidB8024811; Tue, 14 Oct 2008 16:44:39 +0300 X-Authentication-Warning: Pirx.gnu.org.ua: gray set sender to gray@gnu.org.ua using -f In-reply-to: Your message of Mon, 13 Oct 2008 14:31:23 -0400 X-Mailer: MH-E 8.0.3; GNU Mailutils 1.9.90; GNU Emacs 22.1.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-mailutils@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports and feature requests for GNU mailutils List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-mailutils-bounces+gcgmb-bug-mailutils=gmane.org@gnu.org Errors-To: bug-mailutils-bounces+gcgmb-bug-mailutils=gmane.org@gnu.org Xref: news.gmane.org gmane.comp.gnu.mailutils.bugs:1213 gmane.emacs.devel:104514 Archived-At: --1804289383-1223991862=:24808 Content-ID: <20081014164422.24808.1@Pirx.gnu.org.ua> Content-Type: text/plain Hi Alfred, > pop://:;auth=+APOP@ > > is interpreted as having the user :. Thanks for noticing. Please, try the attached patch. Regards, Sergey --1804289383-1223991862=:24808 Content-transfer-encoding: quoted-printable Content-Description: Content-ID: <20081014164422.24808.1@Pirx.gnu.org.ua> Content-Type: text/x-c; name="mu-apop.diff" Index: mailbox/url.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mailutils/mailutils/mailbox/url.c,v retrieving revision 1.32 diff -p -u -r1.32 url.c --- mailbox/url.c 16 Aug 2008 08:21:32 -0000 1.32 +++ mailbox/url.c 14 Oct 2008 13:42:37 -0000 @@ -260,12 +260,17 @@ url_parse0 (mu_url_t u, char *name) /* Try to split the user into a: : or - ;AUTH=3D + :;AUTH=3D */ = for (; *name; name++) { - if (*name =3D=3D ';') + if (*name =3D=3D ':') + { + *name++ =3D 0; + u->passwd =3D name; + } + else if (*name =3D=3D ';') { /* Make sure it's the auth token. */ if (strncasecmp (name + 1, "auth=3D", 5) =3D=3D 0) @@ -276,12 +281,6 @@ url_parse0 (mu_url_t u, char *name) break; } } - if (*name =3D=3D ':') - { - *name++ =3D 0; - u->passwd =3D name; - break; - } } } = --1804289383-1223991862=:24808 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-mailutils mailing list Bug-mailutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-mailutils --1804289383-1223991862=:24808--