From 46903a3732fca87dc93bb215bff5f130236af34c Mon Sep 17 00:00:00 2001 From: mdipierro Date: Thu, 3 Oct 2013 08:37:42 -0500 Subject: [PATCH] fixed issue 1698:Application Name Containing a Period . Not Supported, thanks Anton --- VERSION | 2 +- applications/admin/controllers/default.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index f10cff4e..46c6f963 100644 --- a/VERSION +++ b/VERSION @@ -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 diff --git a/applications/admin/controllers/default.py b/applications/admin/controllers/default.py index f498f9ea..6d90608d 100644 --- a/applications/admin/controllers/default.py +++ b/applications/admin/controllers/default.py @@ -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)):