summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-19 20:45:55 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-19 20:45:55 +0000
commitb9bf8c50c7f99e3f836694c54b09aae110cdf0cb (patch)
tree7bf1ba26ec625dd5d2add94b72430fe8fd26c711 /roundcubemail/program
parentbc7d9acb53a1f3a0b9fe7e4afa1c348f1f4202d8 (diff)
Numbers are also allowed in action names
git-svn-id: https://svn.roundcube.net/trunk@5246 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index abac694b8..44d58236e 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -5686,7 +5686,7 @@ function rcube_webmail()
var base = this.env.comm_path;
// overwrite task name
- if (query._action.match(/([a-z]+)\/([a-z-_.]+)/)) {
+ if (query._action.match(/([a-z]+)\/([a-z0-9-_.]+)/)) {
query._action = RegExp.$2;
base = base.replace(/\_task=[a-z]+/, '_task='+RegExp.$1);
}