Преглед изворни кода

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

Alex Antonenko пре 10 година
родитељ
комит
bfad3faed8
1 измењених фајлова са 1 додато и 1 уклоњено
  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(['{','}']));
   },
 
   /**