From 94f763e9c7c7efa1a22a28a2d4c74fa5fcbe4771 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 11 Sep 2016 19:12:53 +0100 Subject: [PATCH] utils/shell: --- Library/Homebrew/utils/shell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/shell.rb b/Library/Homebrew/utils/shell.rb index 731277982e..7f749186f4 100644 --- a/Library/Homebrew/utils/shell.rb +++ b/Library/Homebrew/utils/shell.rb @@ -10,7 +10,7 @@ module Utils }.freeze 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 # to a shell name, return nil if there's no match