Changeset c0618f2


Ignore:
Timestamp:
02/04/14 11:04:05 (7 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2
Children:
4f9718b
Parents:
13a6b08
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 rc0618f2  
    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.