fixed issue 1698:Application Name Containing a Period . Not Supported, thanks Anton

This commit is contained in:
mdipierro
2013-10-03 08:37:42 -05:00
parent c5b9b4d723
commit 46903a3732
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.4-stable+timestamp.2013.10.03.08.33.04
Version 2.6.4-stable+timestamp.2013.10.03.08.36.35
+1 -1
View File
@@ -197,7 +197,7 @@ def site():
class IS_VALID_APPNAME(object):
def __call__(self, value):
if not re.compile('\w+').match(value):
if not re.compile('^\w+$').match(value):
return (value, T('Invalid application name'))
if not request.vars.overwrite and \
os.path.exists(os.path.join(apath(r=request), value)):