projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.5'
[collectd.git]
/
contrib
/
collection3
/
bin
/
index.cgi
diff --git
a/contrib/collection3/bin/index.cgi
b/contrib/collection3/bin/index.cgi
index
a850271
..
4723af9
100755
(executable)
--- a/
contrib/collection3/bin/index.cgi
+++ b/
contrib/collection3/bin/index.cgi
@@
-262,28
+262,6
@@
sub contains_invalid_chars
return;
}
return;
}
-sub contains_invalid_chars
-{
- my $str = shift;
-
- for (split (m//, $str))
- {
- my $n = ord ($_);
-
- # Whitespace is allowed.
- if (($n >= 9) && ($n <= 13))
- {
- next;
- }
- elsif ($n < 32)
- {
- return (1);
- }
- }
-
- return;
-}
-
sub show_selector
{
my $timespan_selection = get_timespan_selection ();
sub show_selector
{
my $timespan_selection = get_timespan_selection ();