Browse Source

AMBARI-10078. Config History table: issues with filtering and sorting (alexantonenko)

Alex Antonenko 10 years ago
parent
commit
bfad3faed8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/utils/validator.js

+ 1 - 1
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(['{','}']));
   },
 
   /**