mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 01:02:52 +00:00
fixup! org-man-open: Fix shell expansion vulnerability (Emacs bug#66390)
This commit is contained in:
parent
bc3caa8f90
commit
6b60b5ac12
|
@ -50,7 +50,7 @@ matched strings in man buffer."
|
|||
(let* ((command (match-string 1 path))
|
||||
;; FIXME: Remove after we drop Emacs 29 support.
|
||||
;; Working around security bug #66390.
|
||||
(command (if (org-man-store-link (equal (Man-translate-references ";id") "\\;id"))
|
||||
(command (if (equal (Man-translate-references ";id") "\\;id")
|
||||
;; We are on Emacs that properly escapes man
|
||||
;; command args (see Emacs commit 820f0793f0b).
|
||||
command
|
||||
|
|
Loading…
Reference in a new issue