mirror of
https://codeberg.org/cage/tinmop/
synced 2024-12-26 00:02:34 +01:00
- [gemini] prevented crash when an illegal character is found in an URI.
This commit is contained in:
parent
456602f89c
commit
a3ff4793f6
@ -74,6 +74,7 @@
|
||||
*open-message-link-window*))
|
||||
|
||||
(defun open-message-link (url enqueue)
|
||||
(tui-utils:with-notify-errors
|
||||
(let* ((parsed (iri:iri-parse url))
|
||||
(scheme (uri:scheme parsed))
|
||||
(decoded-path (percent-decode url)))
|
||||
@ -92,7 +93,7 @@
|
||||
((fs:dirp decoded-path)
|
||||
(ui:open-file-explorer decoded-path))
|
||||
(t
|
||||
(os-utils:open-resource-with-external-program decoded-path nil)))))
|
||||
(os-utils:open-resource-with-external-program decoded-path nil))))))
|
||||
|
||||
(defclass open-links-window ()
|
||||
((links
|
||||
|
Loading…
Reference in New Issue
Block a user