diff options
author | levinse <levinse> | 2011-01-31 06:30:36 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-01-31 06:30:36 +0000 |
commit | ec681a87b33fe272276f367aea4da3ed4d689605 (patch) | |
tree | 238542a56494a3d9e8ef4d1e7766db77f06822bb /httemplate | |
parent | df6a0d9c94240a8d10a9ab02161beab92e8577e4 (diff) |
torrus various changes, RT10574
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/misc/nms-add_iface.html | 2 | ||||
-rw-r--r-- | httemplate/view/svc_port.cgi | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/httemplate/misc/nms-add_iface.html b/httemplate/misc/nms-add_iface.html index ef4b4eb46..1de0249ef 100644 --- a/httemplate/misc/nms-add_iface.html +++ b/httemplate/misc/nms-add_iface.html @@ -19,6 +19,6 @@ my $host = $cgi->param('host'); die 'invalid host' unless $host =~ /^[0-9.a-zA-Z\-]+$/; my $iface = $cgi->param('iface'); -die 'invalid iface' unless $iface =~ /^[0-9A-Za-z_\-.]+$/; +die 'invalid iface' unless $iface =~ /^[0-9A-Za-z_\-.\\\/ ]+$/; </%init> diff --git a/httemplate/view/svc_port.cgi b/httemplate/view/svc_port.cgi index 84d0e49e3..0df826366 100644 --- a/httemplate/view/svc_port.cgi +++ b/httemplate/view/svc_port.cgi @@ -39,7 +39,6 @@ if ( $cgi->param('start') && $cgi->param('end') ) { sub preset_range { my($start,$end,$label,$date_format) = (shift,shift,shift,shift); - warn "$start $end $date_format"; $start = time2str($date_format,$start); $end = time2str($date_format,$end); return '<A HREF="javascript:void(0);" onclick="preset_range(\'' |