Commit e4adf61e authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)

parent 360ac530
2010-10-08 Glenn Morris <rgm@gnu.org>
* net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2010-10-07 Chong Yidong <cyd@stupidchicken.com>
 
* cus-edit.el (custom-variable, custom-face): Doc fix.
......
......@@ -939,7 +939,7 @@ Galeon, Konqueror, Netscape, Mosaic, Lynx in an xterm, and then W3."
(interactive (browse-url-interactive-arg "URL: "))
(call-process "/bin/sh" nil nil nil
"-c"
(concat "nohup xdg-open " url
(concat "nohup xdg-open " (shell-quote-argument url)
">/dev/null 2>&1 </dev/null")))
;;;###autoload
......@@ -1571,5 +1571,4 @@ from `browse-url-elinks-wrapper'."
(provide 'browse-url)
;; arch-tag: d2079573-5c06-4097-9598-f550fba19430
;;; browse-url.el ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment