projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65ba327
)
org: Fix security prompt for downloading remote resource
author
Ihor Radchenko
<yantar92@posteo.net>
Fri, 2 Feb 2024 19:59:41 +0000
(20:59 +0100)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 17 Feb 2024 17:31:28 +0000
(19:31 +0200)
* lisp/org.el (org--confirm-resource-safe): Do not assume that
resource is safe when user replies "n" (do not download).
Reported-by: Max Nikulin <manikulin@gmail.com>
Link:
https://orgmode.org/list/upj6uk$b7o$1@ciao.gmane.io
lisp/org/org.el
patch
|
blob
|
history
diff --git
a/lisp/org/org.el
b/lisp/org/org.el
index 3075729d01d4b03c4df5b5783d1a286df37585c7..c75afbf5a67ca6c816d49a999aec9bb8a972b600 100644
(file)
--- a/
lisp/org/org.el
+++ b/
lisp/org/org.el
@@
-4685,7
+4685,7
@@
returns non-nil if any of them match."
(if (and (= char ?f) current-file)
(concat "file://" current-file) uri))
"\\'")))))
- (prog1 (memq char '(?y ?
n ?
! ?d ?\s ?f))
+ (prog1 (memq char '(?y ?! ?d ?\s ?f))
(quit-window t)))))))
(defun org-extract-log-state-settings (x)