mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
Remind user to not transfer files from machines they dont trust
This commit is contained in:
parent
72c1ff6085
commit
470a70db57
1 changed files with 4 additions and 2 deletions
|
|
@ -1172,7 +1172,8 @@ class FileTransmission:
|
|||
window = boss.window_id_map.get(self.window_id)
|
||||
if window is not None:
|
||||
boss.confirm(_(
|
||||
'The remote machine wants to read some files from this computer. Do you want to allow the transfer?'),
|
||||
'The remote machine wants to read some files from this computer.'
|
||||
' Only allow transfers to computers you trust. Do you want to allow the transfer?'),
|
||||
self.handle_receive_confirmation, asd_id, window=window,
|
||||
)
|
||||
|
||||
|
|
@ -1202,7 +1203,8 @@ class FileTransmission:
|
|||
window = boss.window_id_map.get(self.window_id)
|
||||
if window is not None:
|
||||
boss.confirm(_(
|
||||
'The remote machine wants to send some files to this computer. Do you want to allow the transfer?'),
|
||||
'The remote machine wants to send some files to this computer.'
|
||||
' Only allow transfers from computers you trust. Do you want to allow the transfer?'),
|
||||
self.handle_send_confirmation, ar_id, window=window,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue