utils/shell:

This commit is contained in:
Mike McQuaid 2016-09-11 19:12:53 +01:00
parent aa3d53f249
commit 94f763e9c7

View File

@ -10,7 +10,7 @@ module Utils
}.freeze }.freeze
module Shell module Shell
UNSAFE_SHELL_CHAR = %r{([^A-Za-z0-9_\-.,:\/@\n])} UNSAFE_SHELL_CHAR = %r{([^A-Za-z0-9_\-.,:/@\n])}
# take a path and heuristically convert it # take a path and heuristically convert it
# to a shell name, return nil if there's no match # to a shell name, return nil if there's no match