Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-02-10 18:39:53 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-06 13:16:41 +0300
commit02af9b2f6f975bc9df0baa82717f2b44ce932b6e (patch)
treec9c4c3fc98ba61b708ff8138ec4381cb6805749a /apps
parent655e39ffcd41b1341f436272a80786f21f69c5b6 (diff)
Fix example regex for user agent matching
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/workflowengine/js/requestuseragentplugin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/js/requestuseragentplugin.js b/apps/workflowengine/js/requestuseragentplugin.js
index 42e3f6b13d2..973f66cba31 100644
--- a/apps/workflowengine/js/requestuseragentplugin.js
+++ b/apps/workflowengine/js/requestuseragentplugin.js
@@ -45,7 +45,7 @@
var placeholder = 'Mozilla/5.0 User Agent';
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
- placeholder = '/^Mozilla\\/5\\.0 (.?)$/i';
+ placeholder = '/^Mozilla\\/5\\.0 (.*)$/i';
}
$(element).css('width', '250px')