[vim/vim] Opening remote files rejects valid hostnames as invalid (Issue #19585)

6 views
Skip to first unread message

cryptoboihtw-hacktde

unread,
2:59 AM (19 hours ago) 2:59 AM
to vim/vim, Subscribed
cryptoboihtw-hacktde created an issue (vim/vim#19585)

Steps to reproduce

  1. Open a file using SCP on a remote server, e.g. :e scp://example.com/my_file.txt

Expected behaviour

The remote file is opened

Version of Vim

9.2.1-81

Environment

OS: Arch Linux
Terminal: xterm
Value of $TERM: xterm
Shell: GNU bash, version 5.3.9(1)-release (x86_64-pc-linux-gnu)

Logs and stack traces

Rejecting invalid hostname: <example.com>


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19585@github.com>

zeertzjq

unread,
3:15 AM (19 hours ago) 3:15 AM
to vim/vim, Subscribed
zeertzjq left a comment (vim/vim#19585)

Fixed by patch 9.2.0089


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19585/4010245771@github.com>

cryptoboihtw-hacktde

unread,
3:20 AM (19 hours ago) 3:20 AM
to vim/vim, Subscribed

Closed #19585 as completed.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/19585/issue_event/23325223895@github.com>

Tony Mechelynck

unread,
5:08 AM (17 hours ago) 5:08 AM
to vim...@googlegroups.com, reply+ACY5DGH2AYYVQWIKNM...@reply.github.com, vim/vim, Subscribed
On Fri, Mar 6, 2026 at 8:59 AM cryptoboihtw-hacktde <vim-dev...@256bit.org> wrote:
cryptoboihtw-hacktde created an issue (vim/vim#19585)

Steps to reproduce

  1. Open a file using SCP on a remote server, e.g. :e scp://example.com/my_file.txt

Expected behaviour

The remote file is opened

[...] 

Logs and stack traces

Rejecting invalid hostname: <example.com>

example.com (and also example.org and example.net) _is_ invalid. They are meant for, well, examples, and MUST be rejected if ever anyone attempts to connect to them. This is part of the definition of the Internet.

Best regards,
Tony. 

vim-dev ML

unread,
5:08 AM (17 hours ago) 5:08 AM
to vim/vim, vim-dev ML, Your activity
vim-ml left a comment (vim/vim#19585)
On Fri, Mar 6, 2026 at 8:59 AM cryptoboihtw-hacktde <
***@***.***> wrote:

> *cryptoboihtw-hacktde* created an issue (vim/vim#19585)
> <https://github.com/vim/vim/issues/19585>
> Steps to reproduce
>
> 1. Open a file using SCP on a remote server, e.g. :e scp://
> example.com/my_file.txt
>
> Expected behaviour
>
> The remote file is opened
>
[...]

> Logs and stack traces
>
> Rejecting invalid hostname: <example.com>
>
>
> example.com (and also example.org and example.net) _is_ invalid. They are
meant for, well, examples, and MUST be rejected if ever anyone attempts to
connect to them. This is part of the definition of the Internet.

Best regards,
Tony.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/19585/4010802395@github.com>

cryptoboihtw-hacktde

unread,
5:14 AM (17 hours ago) 5:14 AM
to vim/vim, vim-dev ML, Mention
cryptoboihtw-hacktde left a comment (vim/vim#19585)

@vim-ml example.com is used as an example. In reality, I used a domain that is resolvable on my system. The use of example.com in this ticket is exactly the use case for it. Let's not derail this.


Reply to this email directly, view it on GitHub.

You are receiving this because you were mentioned.Message ID: <vim/vim/issues/19585/4010832299@github.com>

Reply all
Reply to author
Forward
0 new messages