Add a reminder about cloning shell envs being unsafe

This commit is contained in:
Kovid Goyal 2026-03-22 07:36:55 +05:30
parent 48ab623f59
commit 07099b3a3d
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1632,7 +1632,8 @@ def handle_remote_clone(self, msg: memoryview) -> None:
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?'),
)