summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-11-11 00:23:45 +0545
committerPhil Davis <phil.davis@inf.org>2014-11-11 00:23:45 +0545
commitda66ef4f93161efffa53f62a59bb1cbdf5e1f41b (patch)
tree25c484969adc918cddaf43b840cff56843f56ead /usr/local/www/wizards
parent2d86ee9554090aba799c51dcf0861e894799de67 (diff)
downloadpfsense-da66ef4f93161efffa53f62a59bb1cbdf5e1f41b.zip
pfsense-da66ef4f93161efffa53f62a59bb1cbdf5e1f41b.tar.gz
Stop FQDN in hostname field
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/setup_wizard.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml
index 0558250..7f56d21 100644
--- a/usr/local/www/wizards/setup_wizard.xml
+++ b/usr/local/www/wizards/setup_wizard.xml
@@ -3,7 +3,7 @@
<copyright>
/* $Id$ */
/*
- setup.xml
+ setup_wizard.xml
part of pfSense (https://www.pfsense.org/)
Copyright (C) 2004, 2005 Scott Ullrich
@@ -121,7 +121,7 @@
</stepbeforeformdisplay>
<stepsubmitphpaction>
<![CDATA[
- if(empty($_POST['hostname']) || !is_hostname($_POST['hostname'])) {
+ if(empty($_POST['hostname']) || !is_unqualified_hostname($_POST['hostname'])) {
print_info_box_np("Hostname is invalid. Please press back in your browser window and correct.");
die;
}
OpenPOWER on IntegriCloud