Subject: Re: bug#7166: browse-url truncates the given url after an '&'

From: Glenn Morris <[email-masked]>
Date: Thu, 7 Oct 2010 14:35:17 -0400

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")))
  
  ;;;###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 </dev/null")))
  
  ;;;###autoload