Repository: ambari Updated Branches: refs/heads/trunk ed616f1d5 -> e4bfb03c7
AMBARI-10078. Config History table: issues with filtering and sorting (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bfad3fae Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bfad3fae Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bfad3fae Branch: refs/heads/trunk Commit: bfad3faed8716984ac44bece7c7ba777499b54e0 Parents: ed616f1 Author: Alex Antonenko <[email protected]> Authored: Mon Mar 16 13:02:59 2015 +0200 Committer: Alex Antonenko <[email protected]> Committed: Mon Mar 16 13:49:23 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/utils/validator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/bfad3fae/ambari-web/app/utils/validator.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/validator.js b/ambari-web/app/utils/validator.js index b7bfbf7..05fb000 100644 --- a/ambari-web/app/utils/validator.js +++ b/ambari-web/app/utils/validator.js @@ -206,7 +206,7 @@ module.exports = { return true; }; if (/^[\?\|\*\!,]/.test(value)) return false; - return /^((\.\*?)?([\w\[\]\?\-_,\|\*\!\{\}]*)?)+(\.\*?)?$/g.test(value) && (checkPair(['[',']'])) && (checkPair(['{','}'])); + return /^((\.\*?)?([\w\s\[\]\?\-_,\|\*\!\{\}]*)?)+(\.\*?)?$/g.test(value) && (checkPair(['[',']'])) && (checkPair(['{','}'])); }, /**
