Skip to content

Commit

Permalink
fix:DIY SQL end add a space
Browse files Browse the repository at this point in the history
  • Loading branch information
idersec authored and tr1v3r committed Dec 20, 2021
1 parent bd8e6ca commit 56a8ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/check/clause.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type SQLClause struct {
}

func (s SQLClause) String() string {
return strings.ReplaceAll(strings.Join(s.Value, "+"), `"+"`, "")
return strings.ReplaceAll(strings.Join(append(s.Value, "\" \""), "+"), `"+"`, "")
}

func (s SQLClause) Creat() string {
Expand Down

0 comments on commit 56a8ae3

Please sign in to comment.