summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-02-10 16:39:53 +0100
committerJoas Schilling <coding@schilljs.com>2018-02-10 16:39:53 +0100
commita11415b16764042ccf5a0dc0a0bffa4369341dd8 (patch)
tree1ef3b7c364902599894d3699a33d3dcde6c539e3 /apps
parentee77f37df2f601246001abfb259479ef583314a1 (diff)
downloadnextcloud-server-a11415b16764042ccf5a0dc0a0bffa4369341dd8.tar.gz
nextcloud-server-a11415b16764042ccf5a0dc0a0bffa4369341dd8.zip
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')