mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:37:50 +00:00
org-protocol: Fix for failing open-source subprotocol
* (org-protocol-open-source): Make sure url is sanitised before processing. TINYCHANGE
This commit is contained in:
parent
a8d007db15
commit
5748615c48
|
@ -520,7 +520,9 @@ The location for a browser's bookmark should look like this:
|
|||
;; As we enter this function for a match on our protocol, the return value
|
||||
;; defaults to nil.
|
||||
(let ((result nil)
|
||||
(f (plist-get (org-protocol-parse-parameters fname nil '(:url)) :url)))
|
||||
(f (org-protocol-sanitize-uri
|
||||
(plist-get (org-protocol-parse-parameters fname nil '(:url))
|
||||
:url))))
|
||||
(catch 'result
|
||||
(dolist (prolist org-protocol-project-alist)
|
||||
(let* ((base-url (plist-get (cdr prolist) :base-url))
|
||||
|
|
Loading…
Reference in a new issue