Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow uppercase hostname chars
  • Loading branch information
Kris Moore committed Dec 6, 2013
1 parent b077651 commit 7a84a28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src-qt4/pc-firstbootgui/firstboot.cpp
Expand Up @@ -189,9 +189,8 @@ void Installer::slotCheckRootPW()

void Installer::slotCheckHost()
{
QRegExp hostnameRegExp("^(([a-z0-9][a-z0-9-].*[a-z0-9])|([a-z0-9]+))$");
QRegExp hostnameRegExp("^(([a-zA-Z0-9][a-zA-Z0-9-].*[a-zA-Z0-9])|([a-zA-Z0-9]+))$");
nextButton->setEnabled(false);
lineHostname->setText(lineHostname->text().toLower());
if (lineHostname->text().isEmpty())
{
lineHostname->setToolTip(tr("Please enter a hostname"));
Expand Down

0 comments on commit 7a84a28

Please sign in to comment.