From: Yasuhiro Matsumoto Date: Thu, 2 Apr 2026 16:22:42 +0000 (+0000) Subject: patch 9.2.0281: tests: Test_netrw_FileUrlEdit.. fails on Windows X-Git-Tag: v9.2.0281^0 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=c91081d0e5d7b4cf5b467b0a622a3c74ef99a08f;p=thirdparty%2Fvim.git patch 9.2.0281: tests: Test_netrw_FileUrlEdit.. fails on Windows Problem: tests: Test_netrw_FileUrlEdit.. fails on Windows (after 3e60f03d942d6bb0f7) Solution: Skip the test on Windows (Yasuhiro Matsumoto). The Test_netrw_FileUrlEdit_pipe_injection() test fails on Windows with E303 because '|' is not a valid filename character on Windows. Since the pipe character cannot appear in a Windows filename, the command injection vector this test guards against does not apply on Windows. closes: #19890 Signed-off-by: Yasuhiro Matsumoto Signed-off-by: Christian Brabandt --- diff --git a/src/testdir/test_plugin_netrw.vim b/src/testdir/test_plugin_netrw.vim index 478908824b..2e5da13d75 100644 --- a/src/testdir/test_plugin_netrw.vim +++ b/src/testdir/test_plugin_netrw.vim @@ -596,6 +596,7 @@ func Test_netrw_hostname() endfunc func Test_netrw_FileUrlEdit_pipe_injection() + CheckUnix CheckExecutable id let fname = 'Xtestfile' let url = 'file:///tmp/file.md%7C!id>'..fname diff --git a/src/version.c b/src/version.c index 2c47f0d722..d0b4692485 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 281, /**/ 280, /**/