diff options
author | Phil Davis <phil.davis@inf.org> | 2014-11-11 00:23:45 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-11-11 00:23:45 +0545 |
commit | da66ef4f93161efffa53f62a59bb1cbdf5e1f41b (patch) | |
tree | 25c484969adc918cddaf43b840cff56843f56ead | |
parent | 2d86ee9554090aba799c51dcf0861e894799de67 (diff) | |
download | pfsense-da66ef4f93161efffa53f62a59bb1cbdf5e1f41b.zip pfsense-da66ef4f93161efffa53f62a59bb1cbdf5e1f41b.tar.gz |
Stop FQDN in hostname field
-rw-r--r-- | usr/local/www/wizards/setup_wizard.xml | 4 |
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; } |