1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

This commit is contained in:
Glenn Morris 2010-10-07 20:23:31 -07:00
parent 360ac53066
commit e4adf61e9a
2 changed files with 5 additions and 2 deletions

View file

@ -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