diff --git a/lib/Thruk/Controller/rest_v1.pm b/lib/Thruk/Controller/rest_v1.pm index 27b8510a5..52b4d66bd 100644 --- a/lib/Thruk/Controller/rest_v1.pm +++ b/lib/Thruk/Controller/rest_v1.pm @@ -1184,7 +1184,7 @@ sub _apply_sort { $key = $alias_columns->{$key} if defined $alias_columns->{$key}; # check for nasty chars - die("sort key contains invalid characters") if($key =~ m/[`\$\(>'"]/mx); + die("sort key contains invalid characters") if($key =~ m/[`\$>'"]/mx); # sort numeric if( defined $data->[0]->{$key} and Thruk::Backend::Manager::looks_like_number($data->[0]->{$key}) ) {