Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
antSword
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HuangJunbo
antSword
Commits
39aee2aa
Commit
39aee2aa
authored
Apr 27, 2019
by
Medicean
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bf-db' into v2.1.x
parents
881e97b7
9c2183fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
index.js
source/modules/database/asp/index.js
+1
-1
index.js
source/modules/database/custom/index.js
+1
-1
index.js
source/modules/database/php/index.js
+2
-2
No files found.
source/modules/database/asp/index.js
View file @
39aee2aa
...
...
@@ -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'
]);
};
...
...
source/modules/database/custom/index.js
View file @
39aee2aa
...
...
@@ -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'
]);
};
...
...
source/modules/database/php/index.js
View file @
39aee2aa
...
...
@@ -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'
]);
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment