Numbers are also allowed in action names

release-0.7
thomascube 13 years ago
parent 3d74c163b5
commit 50077da8e6

@ -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);
}

Loading…
Cancel
Save