Merge pull request #508 from ShruthiRajaram/FINERACT-682
FINERACT-682: SQL injection impact fixes
This commit is contained in:
-1
@@ -223,7 +223,6 @@ public class ReadReportingServiceImpl implements ReadReportingService {
|
|||||||
|
|
||||||
final String inputSql = "select " + type + "_sql as the_sql from stretchy_" + type + " where " + type + "_name = '" + name + "'";
|
final String inputSql = "select " + type + "_sql as the_sql from stretchy_" + type + " where " + type + "_name = '" + name + "'";
|
||||||
validateReportName(name);
|
validateReportName(name);
|
||||||
this.columnValidator.validateSqlInjection(inputSql, name);
|
|
||||||
|
|
||||||
final String inputSqlWrapped = this.genericDataService.wrapSQL(inputSql);
|
final String inputSqlWrapped = this.genericDataService.wrapSQL(inputSql);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user