diff --git a/html/cgi-bin/forwardfw.cgi b/html/cgi-bin/forwardfw.cgi index 6ed0a9b22..1f5ea0044 100755 --- a/html/cgi-bin/forwardfw.cgi +++ b/html/cgi-bin/forwardfw.cgi @@ -1266,7 +1266,7 @@ END &Header::openbox('100%', 'left', $Lang::tr{'fwdfw additional'}); print< - $Lang::tr{'remark'}: + $Lang::tr{'remark'}: $Lang::tr{'fwdfw rule activate'} $Lang::tr{'fwdfw log rule'}

@@ -1464,7 +1464,7 @@ sub validremark # Each part should be at least two characters in length # but no more than 63 characters - if (length ($remark) < 1 || length ($remark) > 63) { + if (length ($remark) < 1 || length ($remark) > 255) { return 0;} # Only valid characters are a-z, A-Z, 0-9 and - if ($remark !~ /^[a-zäöüA-ZÖÄÜ0-9-\s]*$/) { @@ -1547,7 +1547,7 @@ sub viewtablenew &General::readhasharray("$config", $hash); print"$title1
"; print""; - print""; + print""; foreach my $key (sort keys %$hash){ @tmpsrc=(); #check if vpn hosts/nets have been deleted @@ -1637,7 +1637,7 @@ END -
#$Lang::tr{'fwdfw source'}Log$Lang::tr{'fwdfw target'}$Lang::tr{'remark'}$Lang::tr{'fwdfw action'}
#$Lang::tr{'fwdfw source'}Log$Lang::tr{'fwdfw target'}$Lang::tr{'remark'}$Lang::tr{'fwdfw action'}
+ @@ -1645,7 +1645,7 @@ END END print< + END if ($$hash{$key}[5] eq 'std_net_tgt'){ print &get_name($$hash{$key}[6]);