mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-19 21:55:13 +00:00
Assume localhost is always local
Required by the spec
This commit is contained in:
parent
d60020f5ac
commit
58f78afc2e
1 changed files with 1 additions and 1 deletions
|
|
@ -508,7 +508,7 @@ class Window:
|
|||
except Exception:
|
||||
hostname = ''
|
||||
remote_hostname = purl.netloc.partition(':')[0]
|
||||
if remote_hostname and remote_hostname != hostname:
|
||||
if remote_hostname and remote_hostname != hostname and remote_hostname != 'localhost':
|
||||
self.handle_remote_file(purl.netloc, unquote(purl.path))
|
||||
return
|
||||
if self.opts.allow_hyperlinks & 0b10:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue