Remove ~ from UNSAFE_SHELL_CHAR
This commit is contained in:
parent
e5435dfeb7
commit
7b99ac58ab
@ -72,7 +72,7 @@ module Utils
|
||||
zsh: "~/.zshrc",
|
||||
}.freeze
|
||||
|
||||
UNSAFE_SHELL_CHAR = %r{([^A-Za-z0-9_\-.,:/@\n])}
|
||||
UNSAFE_SHELL_CHAR = %r{([^A-Za-z0-9_\-.,:/@~\n])}
|
||||
|
||||
def csh_quote(str)
|
||||
# ruby's implementation of shell_escape
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user