diff options
author | Joas Schilling <coding@schilljs.com> | 2018-02-10 16:39:53 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-02-10 16:39:53 +0100 |
commit | a11415b16764042ccf5a0dc0a0bffa4369341dd8 (patch) | |
tree | 1ef3b7c364902599894d3699a33d3dcde6c539e3 /apps/workflowengine/js | |
parent | ee77f37df2f601246001abfb259479ef583314a1 (diff) | |
download | nextcloud-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/workflowengine/js')
-rw-r--r-- | apps/workflowengine/js/requestuseragentplugin.js | 2 |
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') |