1
0
mirror of https://github.com/securego/gosec.git synced 2025-12-21 23:57:52 +02:00
Files
gosec/rules/sql_test.go
Tim Kelsey 3e4d96ef3e Better SQLi testing
This prevents the string concat tests flagging a false positive if
joining two literal strings (eg "SELECT * FROM " + " table" ... )
or with a constant (eg const tab = "name"; "SELECT * from " + tab)
2016-07-27 15:47:07 +01:00

5.7 KiB