From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Parsing URL attributes - url-mailto, url-imap, url-ldap broken? Date: Sun, 15 Apr 2007 09:59:30 -0400 Message-ID: References: <87ps69tz33.fsf@x3y2z1.net> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1176645865 10832 80.91.229.12 (15 Apr 2007 14:04:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2007 14:04:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Diane Murray Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 15 16:04:18 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hd5Kw-0000IB-IE for ged-emacs-devel@m.gmane.org; Sun, 15 Apr 2007 16:04:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hd5PR-0004Ak-GU for ged-emacs-devel@m.gmane.org; Sun, 15 Apr 2007 10:08:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hd5Nl-0001ea-4I for emacs-devel@gnu.org; Sun, 15 Apr 2007 10:07:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hd5Nk-0001eA-K4 for emacs-devel@gnu.org; Sun, 15 Apr 2007 10:07:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hd5Nk-0001e5-6h for emacs-devel@gnu.org; Sun, 15 Apr 2007 10:07:08 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hd5It-0004Uw-Ad for emacs-devel@gnu.org; Sun, 15 Apr 2007 10:02:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Hd5GM-00009e-PK; Sun, 15 Apr 2007 09:59:30 -0400 In-reply-to: <87ps69tz33.fsf@x3y2z1.net> (message from Diane Murray on Thu, 12 Apr 2007 17:02:56 +0200) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69456 Archived-At: Is anyone working on this? Date: Thu, 12 Apr 2007 17:02:56 +0200 From: Diane Murray To: emacs-devel@gnu.org Subject: Parsing URL attributes - url-mailto, url-imap, url-ldap broken? I just noticed that `url-mailto' doesn't parse URLs with query arguments like it used to. If I call (url-retrieve-synchronously "mailto:ml+atest@x3y2z1.net?subject=testing") the word "testing" should be inserted in the Subject field, but it isn't. In Emacs CVS of 2006-09-19 it does that. I'm assuming after because of the following changes, now it doesn't: 2006-10-09 Magnus Henoch * url-parse.el (url-generic-parse-url): Handle URLs with empty path component and non-empty query component. Untangle path, query and fragment parsing code. Add references to RFC 3986 in comments. (url-recreate-url-attributes): Start query string with "?", not ";". I think `url-imap' and `url-ldap' won't work correctly either, from what I've seen in the source code. Since the change was probably made to parse http query strings better, and there is no such use of url-attributes in url-http.el, I believe it should be safe to somehow revert to the old way, since many of the other url scheme files depend on that way of doing things. -- Diane Murray _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel