From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.bugs Subject: bug#3166: browse-url: browse-url-firefox url encoding Date: Wed, 29 Apr 2009 21:43:29 +0200 Message-ID: <87tz47fcyn.fsf@ID-24456.user.uni-berlin.de> Reply-To: Christoph Conrad , 3166@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1241037138 21925 80.91.229.12 (29 Apr 2009 20:32:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 20:32:18 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 22:32:10 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LzGRn-0004xV-4T for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 22:32:03 +0200 Original-Received: from localhost ([127.0.0.1]:37353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzGRm-0004BY-Dj for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 16:32:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzGRi-0004BQ-8c for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 16:31:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzGRf-0004B0-Kf for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 16:31:57 -0400 Original-Received: from [199.232.76.173] (port=37021 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzGRf-0004Aw-BS for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 16:31:55 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42567) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LzGRe-0002YD-Hv for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 16:31:55 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3TKVpNw001160; Wed, 29 Apr 2009 13:31:52 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3TKF4mR028007; Wed, 29 Apr 2009 13:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Christoph Conrad Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 29 Apr 2009 20:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3166 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124103558126321 (code B ref -1); Wed, 29 Apr 2009 20:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 29 Apr 2009 20:06:21 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3TK6GjD026310 for ; Wed, 29 Apr 2009 13:06:18 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzG2q-00043P-MS for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 16:06:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzG2m-0003yk-4D for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 16:06:16 -0400 Original-Received: from [199.232.76.173] (port=37445 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzG2l-0003yh-Uo for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 16:06:11 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:53962) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LzG2l-0004jr-70 for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 16:06:11 -0400 Original-Received: (qmail invoked by alias); 29 Apr 2009 19:59:28 -0000 Original-Received: from xdsl-87-79-59-189.netcologne.de (EHLO brabbelbox) [87.79.59.189] by mail.gmx.net (mp014) with SMTP; 29 Apr 2009 21:59:28 +0200 X-Authenticated: #4523881 X-Provags-ID: V01U2FsdGVkX19r3SNs/z1rUech+lnV7g6xQf0dvHJkmjpynXBNGW jalzzcQCgWFccU Original-Received: by brabbelbox (Postfix, from userid 1000) id 2FF5EAC210; Wed, 29 Apr 2009 21:59:28 +0200 (CEST) X-Public-Key: http://wwwkeys.de.pgp.net:11371/pks/lookup?op=get&search=0x1B488DEA X-Hashcash: 1:20:090429:bug-gnu-emacs@gnu.org::MKwK2hNujPxqqaNu:000000000000000000000000000000000000000006he User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.54 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 29 Apr 2009 16:31:57 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27547 Archived-At: In GNU Emacs 22.3.1 (i686-pc-linux-gnu) of 2008-10-30 on brabbelbox Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure 'CC=gcc'' `browse-url-firefox': There is an encoding of chars of the url at the beginning. ;; URL encode any `confusing' characters in the URL. This needs to ;; include at least commas; presumably also close parens. (while (string-match "[,)]" url) (setq url (replace-match (format "%%%x" (string-to-char (match-string 0 url))) t t url))) For the _encoded_ url the displayed page in FF 3.0.10 is not the page displayed when copying the _unencoded_ url directly in the browser adress bar. I tested this also by directly copying the urls into Opera 9.64 AND even encoding the url with `browse-url-firefox' from current CVS emacs. Regards, Christoph Example: http://www.z-ac.de/component/option,com_eventlist/Itemid,23/func,details/did,761/ => http://www.z-ac.de/component/option%2ccom_eventlist/Itemid%2c23/func%2cdetails/did%2c761/