Changeset c8d9da3


Ignore:
Timestamp:
02/05/14 06:31:22 (7 months ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.0
Children:
01c62ef
Parents:
45cd698
git-author:
Kris Moore <kris@…> (02/04/14 11:04:05)
git-committer:
Kris Moore <kris@…> (02/05/14 06:31:22)
Message:

Don't allow hostnames with spaces in the name when creating new jails via GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/warden-gui/wizardNewJail.cpp

    r6c1dd87 rc8d9da3  
    128128            return false; 
    129129         } 
     130         if ( lineHost->text().contains(" ") ) { 
     131            button(QWizard::NextButton)->setEnabled(false); 
     132            labelMessage->setText(tr("Hostname cannot contain spaces!")); 
     133            return false; 
     134         } 
    130135 
    131136         // Check if this IP / Host is already used 
Note: See TracChangeset for help on using the changeset viewer.