Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow uppercase hostname chars

  • Loading branch information...
commit 7a84a280a31aea2ac97517185b82015cfa8b51fa 1 parent b077651
@kmoore134 kmoore134 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src-qt4/pc-firstbootgui/firstboot.cpp
View
3  src-qt4/pc-firstbootgui/firstboot.cpp
@@ -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"));
Please sign in to comment.
Something went wrong with that request. Please try again.