]> git.eshelyaron.com Git - emacs.git/commit
org: Fix security prompt for downloading remote resource
authorIhor Radchenko <yantar92@posteo.net>
Fri, 2 Feb 2024 19:59:41 +0000 (20:59 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:34:57 +0000 (18:34 +0100)
commitba2b45b2ed0adb41f5d5cfcc37f3e9d0fff9dfaa
tree1dff3ffd2141aea58d58cb1e062b34847f9d1e5a
parent851052bf52e89c21403a9bfa4fc92c0ade5266f6
org: Fix security prompt for downloading remote resource

* 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
(cherry picked from commit e56f0ef51bfdd0e03e817670754bc813fb3702a2)
lisp/org/org.el