diff --git a/plugins/http/http_load_ b/plugins/http/http_load_ index b3d9eb9d..52b0eb92 100755 --- a/plugins/http/http_load_ +++ b/plugins/http/http_load_ @@ -185,7 +185,7 @@ sub get_fieldname{ # Same as get_fieldname except it doesn't substr sub get_id{ my $url=$_[0]; - $url =~ s/\W//g; + $url =~ s/[\W_]//g; return $url; } @@ -195,7 +195,7 @@ $debug && print "Scriptname: " . $scriptname . "\n"; # # The filename format is http_load_X_Y where # X: The line number in urls.txt -# X: The type of graph (elements, size, loadtime, ..) +# Y: The type of graph (elements, size, loadtime, ..) my ($id,$type); $0 =~ /http_load(?:_([^_]+)|)_(.+)\s*$/;