From 37bdd82e89bc5340ef08b4d867062663c7c9bc79 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 22 Aug 2012 18:21:28 +0200 Subject: [PATCH] Bei nicht zu quotenden Shell-Argumenten Exception werfen --- SL/Template/ShellCommand.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Template/ShellCommand.pm b/SL/Template/ShellCommand.pm index 082412909..9ea4b8fbf 100644 --- a/SL/Template/ShellCommand.pm +++ b/SL/Template/ShellCommand.pm @@ -35,7 +35,7 @@ sub substitute_vars { sub format_string { my ($self, $variable) = @_; - return shell_quote_best_effort($variable); + return shell_quote($variable); } sub get_mime_type { -- 2.20.1