kitty +open: Ask for confirmation when running executables

Workaround for badly designed program that try to open links in
untrusted documents that point to executables on the local system.
They should really not be doing that, but, since such programs do exist,
let's be safe by default.

Users that use better designed programs and want to disable the
confirmations can do so by writing their own launch-actions.conf
This commit is contained in:
Kovid Goyal
2025-03-20 14:00:09 +05:30
parent 191ea16cd7
commit ce5cfdd9ca
2 changed files with 13 additions and 5 deletions

View File

@@ -102,6 +102,12 @@ Detailed list of changes
background text colors. Works in a perceptual color for best color accuracy
(:pull:`8420`)
- :ref:`kitty +open <launch_actions>`: Ask for confirmation by default when running executables
to work around some badly designed programs that try to open links in
documents that point to executable files. Can be overridden by specifying
your own :file:`launch-actions.conf`.
0.40.1 [2025-03-18]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~