ソースを参照

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