summaryrefslogtreecommitdiff
path: root/src/leap/gui/firstrun/providerselect.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-09 00:17:32 +0900
committerkali <kali@leap.se>2013-01-09 00:17:32 +0900
commit8fb39dd87db76bd4450e0137f34d7d0ee66de935 (patch)
treeaf19e12d49652b239e1e1eaabb297d8a0664a37b /src/leap/gui/firstrun/providerselect.py
parentf82f81b6766905269d51e08632b42ed2e92c249b (diff)
fix provider domain regex
Diffstat (limited to 'src/leap/gui/firstrun/providerselect.py')
-rw-r--r--src/leap/gui/firstrun/providerselect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/gui/firstrun/providerselect.py b/src/leap/gui/firstrun/providerselect.py
index fd48f7f9..62742181 100644
--- a/src/leap/gui/firstrun/providerselect.py
+++ b/src/leap/gui/firstrun/providerselect.py
@@ -64,7 +64,7 @@ class SelectProviderPage(InlineValidationPage):
providerNameLabel.setBuddy(providerNameEdit)
# add regex validator
- providerDomainRe = QtCore.QRegExp(r"^[a-z\d_-.]+$")
+ providerDomainRe = QtCore.QRegExp(r"^[a-z1-9_\-\.]+$")
providerNameEdit.setValidator(
QtGui.QRegExpValidator(providerDomainRe, self))
self.providerNameEdit = providerNameEdit