fixed issue 1698:Application Name Containing a Period . Not Supported, thanks Anton
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)):
|
||||
|
||||
Reference in New Issue
Block a user