Commit 39aee2aa authored by Medicean's avatar Medicean

Merge branch 'bf-db' into v2.1.x

parents 881e97b7 9c2183fa
......@@ -622,7 +622,7 @@ class ASP {
return toastr.error(LANG['result']['error']['parse'], LANG_T['error']);
};
// 3.行头
let header_arr = antSword.noxss(arr[0]).split('\t|\t');
let header_arr = antSword.noxss(arr[0]).replace(/,/g, ',').split('\t|\t');
if (header_arr.length === 1) {
return toastr.warning(LANG['result']['error']['noresult'], LANG_T['warning']);
};
......
......@@ -572,7 +572,7 @@ class CUSTOM {
return toastr.error(LANG['result']['error']['parse'], LANG_T['error']);
};
// 3.行头
let header_arr = antSword.noxss(arr[0]).split('\t|\t');
let header_arr = antSword.noxss(arr[0]).replace(/,/g, ',').split('\t|\t');
if (header_arr.length === 1) {
return toastr.warning(LANG['result']['error']['noresult'], LANG_T['warning']);
};
......
......@@ -1562,7 +1562,7 @@ class PHP {
return toastr.error(LANG['result']['error']['parse'], LANG_T['error']);
};
// 3.行头
let header_arr = antSword.noxss(arr[0]).split('\t|\t');
let header_arr = antSword.noxss(arr[0]).replace(/,/g, ',').split('\t|\t');
if (header_arr.length === 1) {
return toastr.warning(LANG['result']['error']['noresult'], LANG_T['warning']);
};
......@@ -1623,7 +1623,7 @@ class PHP {
return toastr.error(LANG['result']['error']['parse'], LANG_T['error']);
};
// 3.行头
let header_arr = antSword.noxss(arr[0]).split('\t|\t');
let header_arr = antSword.noxss(arr[0]).replace(/,/g, ',').split('\t|\t');
if (header_arr.length === 1) {
return toastr.warning(LANG['result']['error']['noresult'], LANG_T['warning']);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment