runtime(racket): Use shellescape() to harden the K mapping

Commit: 
https://github.com/vim/vim/commit/374f06ffd8b890809289911334d8f0b0b15603bc
Author: Christian Brabandt <[email protected]>
Date:   Tue Mar 31 15:38:30 2026 +0000

    runtime(racket): Use shellescape() to harden the K mapping
    
    fyi: @benknoble
    
    Co-authored-by: MichaĹ‚ Majchrowicz <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/ftplugin/racket.vim b/runtime/ftplugin/racket.vim
index b8004a93a..14a98ab79 100644
--- a/runtime/ftplugin/racket.vim
+++ b/runtime/ftplugin/racket.vim
@@ -4,6 +4,7 @@
 " Previous Maintainer:  Will Langstroth <[email protected]>
 " URL:                  https://github.com/benknoble/vim-racket
 " Last Change:          2025 Aug 09
+" 2026 Mar 31 by Vim project: use shellescape for the K mapping
 
 if exists("b:did_ftplugin")
   finish
@@ -51,7 +52,7 @@ if !exists("no_plugin_maps") && !exists("no_racket_maps")
     try
       let l:old_a = @a
       normal! gv"ay
-      call system("raco docs '". @a . "'")
+      call system("raco docs '". shellescape(@a) . "'")
       redraw!
       return @a
     finally

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1w7bH6-00F4OJ-5R%40256bit.org.

Raspunde prin e-mail lui