Allow more characters in TLH definitions.
[usenet/newsstats.git] / gatherstats.pl
index 6e41485..0a5a9a2 100755 (executable)
@@ -91,7 +91,7 @@ if ($Conf{'TLH'}) {
   $TLH =~ s/(?<!\.)$/./;
   # check for illegal characters
   &Bleat(2,'Config error - illegal characters in TLH definition!')
-    if ($TLH !~ /^[a-zA-Z0-9:]+$/);
+    if ($TLH !~ /^[a-zA-Z0-9:+.-]+$/);
   # escape dots
   $TLH =~ s/\./\\./g;
   if ($TLH =~ /:/) {
This page took 0.009659 seconds and 4 git commands to generate.