summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/js/requestuseragentplugin.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-12 10:56:36 +0100
committerGitHub <noreply@github.com>2018-02-12 10:56:36 +0100
commit825975b3228ec67e41c4400c473e3b169ce245b9 (patch)
tree1ef3b7c364902599894d3699a33d3dcde6c539e3 /apps/workflowengine/js/requestuseragentplugin.js
parentee77f37df2f601246001abfb259479ef583314a1 (diff)
parenta11415b16764042ccf5a0dc0a0bffa4369341dd8 (diff)
downloadnextcloud-server-825975b3228ec67e41c4400c473e3b169ce245b9.tar.gz
nextcloud-server-825975b3228ec67e41c4400c473e3b169ce245b9.zip
Merge pull request #8297 from nextcloud/bugfix/noid/fix-example-regex-for-user-agent-matching
Fix example regex for user agent matching
Diffstat (limited to 'apps/workflowengine/js/requestuseragentplugin.js')
-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')