From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 06 09:26:53 2010 Received: (at submit) by debbugs.gnu.org; 6 Oct 2010 13:26:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3U1F-0005iS-4i for submit@debbugs.gnu.org; Wed, 06 Oct 2010 09:26:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3U1C-0005iD-UR for submit@debbugs.gnu.org; Wed, 06 Oct 2010 09:26:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3U4D-0003HV-J7 for submit@debbugs.gnu.org; Wed, 06 Oct 2010 09:30:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:40789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3U4C-0003GU-Qi for submit@debbugs.gnu.org; Wed, 06 Oct 2010 09:29:57 -0400 Received: from [140.186.70.92] (port=45318 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3U43-00075f-MQ for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2010 09:29:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3U1F-0002P2-Ly for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2010 09:26:54 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:60604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3U1F-0002OR-E3 for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2010 09:26:53 -0400 Received: by wwb24 with SMTP id 24so9133wwb.0 for ; Wed, 06 Oct 2010 06:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ZiLsRWzl9SpsXzmO6X7FRvqbRwHbQ4MNiBzfCqwaElw=; b=DQzlYSvNfRl616+kmz3mJkEGHuQHSdS+9CUGe6XkqEDSgov0wmGMxbP96MzMZjvodc QveZOB/O0aHWA44R/Bo1+SSxLL0YN7ZIuFrZX6URMzlI0P+K5CYoWqCMGE10kE0zYFhj KJlCj+nT3UWw0Zcjxlh4PBao2oq4EY3FbVZbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=f4pOHjSyr2SocSOLRJQrb67xuGWgeqSQxqhmBrTaX2OAxAgwKKZUVE8i6DApGqbC7m v5tAkYJumkINp+mhdlwX7EJt/CnlXLsL6ZBncVeXvi5GMxFsB2Po/8bDaXogslzam/u7 O3yUhUO+kKAIKSjxkvFWR4mz6NoB0p3k3Av/E= MIME-Version: 1.0 Received: by 10.216.188.81 with SMTP id z59mr10663779wem.106.1286371599314; Wed, 06 Oct 2010 06:26:39 -0700 (PDT) Received: by 10.216.50.209 with HTTP; Wed, 6 Oct 2010 06:26:39 -0700 (PDT) Date: Wed, 6 Oct 2010 06:26:39 -0700 Message-ID: Subject: browse-url truncates the given url after an '&' From: Ken Hori To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) Observed emacs-version: GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-10-06 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 06 13:29:06 2010 Received: (at 7166) by debbugs.gnu.org; 6 Oct 2010 17:29:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3Xne-0007VN-3Y for submit@debbugs.gnu.org; Wed, 06 Oct 2010 13:29:06 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3Xnc-0007V1-30 for 7166@debbugs.gnu.org; Wed, 06 Oct 2010 13:29:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P3Xqf-0003n0-U1; Wed, 06 Oct 2010 13:32:14 -0400 To: Ken Hori Subject: Re: bug#7166: browse-url truncates the given url after an '&' References: From: Glenn Morris X-Spook: Fortezza Fedayeen Perl-RSA Axis of Evil Firewalls X-Ran: ab|Vq8VUjcIbM38@n+7_V!:>u#.`]xjo;F\\{?3<`I$I{WZACIk2b!0~[]QAI6Ay?bHsF" X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 06 Oct 2010 13:32:13 -0400 In-Reply-To: (Ken Hori's message of "Wed\, 6 Oct 2010 06\:26\:39 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7166 Cc: 7166@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Ken Hori wrote: > Observed emacs-version: > GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) > of 2010-10-06 Please. Give. Details. emacs -Q (browse-url "http://www.google.com/search?hl=en&q=emacs&lr=lang_en") works for me in 23.2 and the current trunk. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 07 01:33:10 2010 Received: (at 7166) by debbugs.gnu.org; 7 Oct 2010 05:33:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3j6L-0003oM-SO for submit@debbugs.gnu.org; Thu, 07 Oct 2010 01:33:10 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3j6K-0003oH-2x for 7166@debbugs.gnu.org; Thu, 07 Oct 2010 01:33:08 -0400 Received: by wyi11 with SMTP id 11so279601wyi.3 for <7166@debbugs.gnu.org>; Wed, 06 Oct 2010 22:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=I9mimqRkxC3jQcrHGI0eVflKi5YVVfcMs0V/N0eqjSQ=; b=nZdzKtSnXlQ9PUM7V1rDvWy7FGGklwTO58ZLwRKdYebOBrb3obCzc8na9ky6HhOcY0 kaMSfnK7aIVapYL2edcK6tXsLhgvDrNpO8xLFXGGIGIjZ5fgF3Iu+xKzPoUUDBcarcfB ryyjUsHfi24EbkVewASl9ce+wYz5OgnwwHc2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SZs14Ch2OWsmI7ij2OOv7C7RcIBzIyOdBwKzd8rvQejHRaCiAz2oGRhaNGZ6aZduR4 yQYpc8E89gE31yT6Cav7Q+HbqfZDEs+Hr93jljyZIJt4Qk7Ohn1dhbXZA8DyIo98fHgu BCCe/yeb0Ktc8NxacvdgWrPZ8tJh8Idw0QS/k= MIME-Version: 1.0 Received: by 10.216.35.75 with SMTP id t53mr1783138wea.95.1286429779576; Wed, 06 Oct 2010 22:36:19 -0700 (PDT) Received: by 10.216.50.209 with HTTP; Wed, 6 Oct 2010 22:36:19 -0700 (PDT) In-Reply-To: References: Date: Wed, 6 Oct 2010 22:36:19 -0700 Message-ID: Subject: Re: bug#7166: browse-url truncates the given url after an '&' From: Ken Hori To: Glenn Morris Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 7166 Cc: 7166@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) Details: $ ./src/emacs -Q (browse-url "http://www.google.com/search?hl=3Den&lr=3Dlang_en&q=3Demacs") =3D> 0 After you evaluate it, you'll get redirected to http://www.google.com/webhp?hl=3Den on your primary browser because, I assu= me, the original URI was somehow truncated or modified (haven't verified which)= . If you type in http://www.google.com/search?hl=3Den&lr=3Dlang_en&q=3Demacs = manually, you'll get the expected SRP. VERSION: GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-10-06 On Wed, Oct 6, 2010 at 10:32 AM, Glenn Morris wrote: > Ken Hori wrote: > >> Observed emacs-version: >> GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) >> =A0of 2010-10-06 > > Please. Give. Details. > > emacs -Q > (browse-url "http://www.google.com/search?hl=3Den&q=3Demacs&lr=3Dlang_en"= ) > > works for me in 23.2 and the current trunk. > From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 07 14:08:12 2010 Received: (at 7166) by debbugs.gnu.org; 7 Oct 2010 18:08:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3ut1-0001fw-NV for submit@debbugs.gnu.org; Thu, 07 Oct 2010 14:08:11 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3ut0-0001fo-6Y for 7166@debbugs.gnu.org; Thu, 07 Oct 2010 14:08:10 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P3uw7-0001wd-PM; Thu, 07 Oct 2010 14:11:23 -0400 To: Ken Hori Subject: Re: bug#7166: browse-url truncates the given url after an '&' References: From: Glenn Morris X-Spook: high security Agfa SWAT codes Rubin Sears Tower RSA X-Ran: >3/2f*{O\v-&S1eEj&t}#?v{sOy!4RY|P? User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7166 Cc: Jan =?iso-8859-1?Q?Dj=E4rv?= , 7166@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Ken Hori wrote: > $ ./src/emacs -Q > > (browse-url "http://www.google.com/search?hl=en&lr=lang_en&q=emacs") Works for me. By experiment, this is a bug in browse-url-xdg-open, which I don't use. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 07 14:32:04 2010 Received: (at 7166) by debbugs.gnu.org; 7 Oct 2010 18:32:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3vG8-0001uU-Ho for submit@debbugs.gnu.org; Thu, 07 Oct 2010 14:32:04 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P3vG6-0001u7-S9 for 7166@debbugs.gnu.org; Thu, 07 Oct 2010 14:32:03 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P3vJF-0003aE-8W; Thu, 07 Oct 2010 14:35:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19630.4837.244794.325438@fencepost.gnu.org> Date: Thu, 7 Oct 2010 14:35:17 -0400 From: Glenn Morris To: Ken Hori , 7166@debbugs.gnu.org, Jan Djärv Subject: Re: bug#7166: browse-url truncates the given url after an '&' In-Reply-To: <398w2950vo.fsf@fencepost.gnu.org> References: <398w2950vo.fsf@fencepost.gnu.org> X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: magenta X-Ran: S2CdRNj~$h}mv^(|ur>\*ivZG(\Ed*IH5YsDAqv3pc0"/a2vEzf6M@UbmsPq"6\[]:uLWf X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7166 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) I guess this might fix it: *** lisp/net/browse-url.el 2010-09-23 06:42:45 +0000 --- lisp/net/browse-url.el 2010-10-07 18:28:31 +0000 *************** *** 939,945 **** (interactive (browse-url-interactive-arg "URL: ")) (call-process "/bin/sh" nil nil nil "-c" ! (concat "nohup xdg-open " url ">/dev/null 2>&1 /dev/null 2>&1 ) id 1P44P9-0005jw-1G for submit@debbugs.gnu.org; Fri, 08 Oct 2010 00:17:59 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P44P6-0005jr-Vt for 7166@debbugs.gnu.org; Fri, 08 Oct 2010 00:17:57 -0400 Received: by wwb31 with SMTP id 31so785640wwb.15 for <7166@debbugs.gnu.org>; Thu, 07 Oct 2010 21:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ASgF1+2lCALy6JSeRoPEG6k2p/0LskJLd2lG6Q8KjS4=; b=xsRZPMjacRBvM8dHi0LCMF/6o77c8CRgW55VOVqtnpzFZZTuDiqwKVyXN5BpB+wI7A VoyVp72uA+1+jzsbX/Ih0o0xgdFSiNZ7Pkncj5AoEn52lAglSY8wK3qsaMGFNUcTHctj nHmJtiorm6ArPNywliWX4I0fervjKXzazuc3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=h/xf5P3vkvRNgDfhVo+LfpgmoZ9N/z0iVAHtD6iEWESEjr+E6927TAfjb6o43T8Zff +MUs8/hdARIgBrSFyhyVNtvZCPB9OaBryZ7UdOvd30hqnfzr5H0I4Jsc9NqgJySIADsb W5BVtfLmPfJ4pKebV94YOhkeKLQ+Xc0yqlYVg= MIME-Version: 1.0 Received: by 10.227.37.8 with SMTP id v8mr1756397wbd.37.1286511672039; Thu, 07 Oct 2010 21:21:12 -0700 (PDT) Received: by 10.216.50.209 with HTTP; Thu, 7 Oct 2010 21:21:11 -0700 (PDT) In-Reply-To: <19630.4837.244794.325438@fencepost.gnu.org> References: <398w2950vo.fsf@fencepost.gnu.org> <19630.4837.244794.325438@fencepost.gnu.org> Date: Thu, 7 Oct 2010 21:21:11 -0700 Message-ID: Subject: Re: bug#7166: browse-url truncates the given url after an '&' From: Ken Hori To: Glenn Morris Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 7166 Cc: =?ISO-8859-1?Q?Jan_Dj=E4rv?= , 7166@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) The diff did it. Thanks for the fix. On Thu, Oct 7, 2010 at 11:35 AM, Glenn Morris wrote: > > I guess this might fix it: > > *** lisp/net/browse-url.el =A0 =A0 =A02010-09-23 06:42:45 +0000 > --- lisp/net/browse-url.el =A0 =A0 =A02010-10-07 18:28:31 +0000 > *************** > *** 939,945 **** > =A0 =A0(interactive (browse-url-interactive-arg "URL: ")) > =A0 =A0(call-process "/bin/sh" nil nil nil > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"-c" > ! =A0 =A0 =A0 =A0 =A0 =A0 =A0 (concat "nohup xdg-open " url > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0">/dev/null 2>&1 > =A0;;;###autoload > --- 939,945 ---- > =A0 =A0(interactive (browse-url-interactive-arg "URL: ")) > =A0 =A0(call-process "/bin/sh" nil nil nil > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"-c" > ! =A0 =A0 =A0 =A0 =A0 =A0 =A0 (concat "nohup xdg-open " (shell-quote-argu= ment url) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0">/dev/null 2>&1 > =A0;;;###autoload > > From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 00:23:36 2010 Received: (at control) by debbugs.gnu.org; 8 Oct 2010 04:23:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P44Ua-0005nC-Eu for submit@debbugs.gnu.org; Fri, 08 Oct 2010 00:23:36 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P44UZ-0005n7-3z for control@debbugs.gnu.org; Fri, 08 Oct 2010 00:23:35 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P44Xh-0006hh-Em; Fri, 08 Oct 2010 00:26:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19630.40329.313558.215520@fencepost.gnu.org> Date: Fri, 8 Oct 2010 00:26:49 -0400 From: Glenn Morris To: control Subject: close 7166 X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: blue X-Ran: +\V.(cWnTOC!15BIh~uIzcpyt#msiCrXrzegR5~iY.nF-dVZu3z>Gpb List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) close 7166 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 13:21:42 2010 Received: (at 7166) by debbugs.gnu.org; 8 Oct 2010 17:21:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4Gda-0004H3-Eq for submit@debbugs.gnu.org; Fri, 08 Oct 2010 13:21:42 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4GdY-0004Gy-Rd for 7166@debbugs.gnu.org; Fri, 08 Oct 2010 13:21:41 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 94E441C15585; Fri, 8 Oct 2010 19:24:57 +0200 (CEST) Received: from igel.home (ppp-88-217-107-226.dynamic.mnet-online.de [88.217.107.226]) by mail.mnet-online.de (Postfix) with ESMTP id 5E7D31C00364; Fri, 8 Oct 2010 19:24:57 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 579CFCA2A0; Fri, 8 Oct 2010 19:24:56 +0200 (CEST) From: Andreas Schwab To: Glenn Morris Subject: Re: bug#7166: browse-url truncates the given url after an '&' References: <398w2950vo.fsf@fencepost.gnu.org> <19630.4837.244794.325438@fencepost.gnu.org> X-Yow: Hey, I LIKE that POINT!! Date: Fri, 08 Oct 2010 19:24:55 +0200 In-Reply-To: <19630.4837.244794.325438@fencepost.gnu.org> (Glenn Morris's message of "Thu, 7 Oct 2010 14:35:17 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7166 Cc: Ken Hori , Jan Djärv , 7166@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Glenn Morris writes: > I guess this might fix it: > > *** lisp/net/browse-url.el 2010-09-23 06:42:45 +0000 > --- lisp/net/browse-url.el 2010-10-07 18:28:31 +0000 > *************** > *** 939,945 **** > (interactive (browse-url-interactive-arg "URL: ")) > (call-process "/bin/sh" nil nil nil > "-c" > ! (concat "nohup xdg-open " url > ">/dev/null 2>&1 > ;;;###autoload > --- 939,945 ---- > (interactive (browse-url-interactive-arg "URL: ")) > (call-process "/bin/sh" nil nil nil > "-c" > ! (concat "nohup xdg-open " (shell-quote-argument url) > ">/dev/null 2>&1 > ;;;###autoload The use of /bin/sh is completely unnecessary. The nil for infile and buffer are already equivalent to the explicit redirections. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Fri Aug 15 20:49:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Nov 2010 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator