mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 05:54:59 +02:00
remote files kitten: Fix working with files whose names have characters that need to be quoted in shell scripts
Fixes #5313
This commit is contained in:
@@ -813,7 +813,7 @@ class Window:
|
||||
except Exception:
|
||||
hostname = ''
|
||||
remote_hostname = purl.netloc.partition(':')[0]
|
||||
if remote_hostname and remote_hostname != hostname and remote_hostname != 'localhost':
|
||||
if True or remote_hostname and remote_hostname != hostname and remote_hostname != 'localhost':
|
||||
self.handle_remote_file(purl.netloc, unquote(purl.path))
|
||||
return
|
||||
url = urlunparse(purl._replace(netloc=''))
|
||||
|
||||
Reference in New Issue
Block a user