diff options
-rwxr-xr-x | reports.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reports.cgi b/reports.cgi index 01ce99277..685b16418 100755 --- a/reports.cgi +++ b/reports.cgi @@ -234,7 +234,7 @@ sub chart_image_name { # Instead, just require that each field name consists only of letters # and number - if ($datasets !~ m/[A-Za-z0-9:]/) { + if ($datasets !~ m/^[A-Za-z0-9:]+$/) { die "Invalid datasets $datasets"; } |