If it matters, I can confirm that this also affects Noble and Jammy but
not Focal (assuming ```apt update && apt install vim && vim
sftp://foo.com/tmp``` on Docker images pulled 8-Nov-2026 are suitable
tests.)
e.g. in Jammy, which downloaded Vim 8.2:
# grep -n 'host_pat =' /usr/share/vim/vim82/autoload/netrw.vim
2882: let host_pat = '[a-zA-Z0-9]\%([-a-zA-Z0-9.]{,62}[a-zA-Z0-9]\)\?$'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166178
Title:
[REGRESSION] netrw: "Rejecting invalid hostname" error on valid
hostnames
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/2166178/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs