Browse Source

core: allow '.' in domain name

Wojtek Porczyk 9 years ago
parent
commit
19dfe3d390
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core-modules/000QubesVm.py

+ 1 - 1
core-modules/000QubesVm.py

@@ -543,7 +543,7 @@ class QubesVm(object):
             return False
         if len(name) > 31:
             return False
-        return re.match(r"^[a-zA-Z][a-zA-Z0-9_-]*$", name) is not None
+        return re.match(r"^[a-zA-Z][a-zA-Z0-9_.-]*$", name) is not None
 
     def pre_rename(self, new_name):
         # fire hooks