From ff93a5c1460e5c48f10fe92587ff2913eff8450a Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 25 Jun 2010 12:17:09 -0400 Subject: [PATCH] Validate time server. Should be the last thing that fixes #464 --- usr/local/www/wizards/setup_wizard.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml index b6300fded1..d0ef4b3fe4 100644 --- a/usr/local/www/wizards/setup_wizard.xml +++ b/usr/local/www/wizards/setup_wizard.xml @@ -130,6 +130,8 @@ Enter the hostname (FQDN) of the time server. input system->timeservers + ^[a-z0-9.|-]+$ + Invalid Time Server Field Timezone @@ -141,6 +143,14 @@ submit + + + 4