diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-03-06 11:54:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 11:54:27 +0100 |
commit | 242f0c0b5a79d6f24a01989980a93f8b8bb09ad0 (patch) | |
tree | 5dcc03e8a5a005b7f9c0195545f063ca515c15f0 | |
parent | 0667a32c83e78dcd86cdbbdb5c1dafd23fcea55a (diff) | |
parent | 02af9b2f6f975bc9df0baa82717f2b44ce932b6e (diff) | |
download | nextcloud-server-242f0c0b5a79d6f24a01989980a93f8b8bb09ad0.tar.gz nextcloud-server-242f0c0b5a79d6f24a01989980a93f8b8bb09ad0.zip |
Merge pull request #8676 from nextcloud/8297_13
[stable13] Fix example regex for user agent matching
-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') |