mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Add a reminder about cloning shell envs being unsafe
This commit is contained in:
parent
48ab623f59
commit
07099b3a3d
1 changed files with 2 additions and 1 deletions
|
|
@ -1632,7 +1632,8 @@ class Window:
|
|||
if ac == 'ask':
|
||||
get_boss().confirm(_(
|
||||
'A program running in this window wants to clone it into another window.'
|
||||
' Allow it do so, once?'),
|
||||
' WARNING: cloning a window is unsafe, as it allows arbitrary code execution,'
|
||||
' only accept this request if you trust the environment you are cloning. Allow the clone, once?'),
|
||||
partial(self.handle_remote_clone_confirmation, cdata), window=self,
|
||||
title=_('Allow cloning of window?'),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue