fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject incubator-fineract git commit: Fixing Integration failure in Provisioning module due to recent query params sanitization changes
Date Tue, 16 May 2017 10:31:38 GMT
Repository: incubator-fineract
Updated Branches:
  refs/heads/develop d93885b55 -> ce0ff78a4


Fixing Integration failure in Provisioning module due to recent query params sanitization
changes


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/ce0ff78a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/ce0ff78a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/ce0ff78a

Branch: refs/heads/develop
Commit: ce0ff78a44e967a9820d05283d8412144b1f2861
Parents: d93885b
Author: Nazeer Hussain Shaik <nazeer.shaik@confluxtechnologies.com>
Authored: Tue May 16 16:01:10 2017 +0530
Committer: Nazeer Hussain Shaik <nazeer.shaik@confluxtechnologies.com>
Committed: Tue May 16 16:01:10 2017 +0530

----------------------------------------------------------------------
 .../loanproduct/service/LoanProductReadPlatformServiceImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/ce0ff78a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanproduct/service/LoanProductReadPlatformServiceImpl.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanproduct/service/LoanProductReadPlatformServiceImpl.java
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanproduct/service/LoanProductReadPlatformServiceImpl.java
index 4b8998b..078d74f 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanproduct/service/LoanProductReadPlatformServiceImpl.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanproduct/service/LoanProductReadPlatformServiceImpl.java
@@ -32,7 +32,6 @@ import org.apache.fineract.infrastructure.core.service.RoutingDataSource;
 import org.apache.fineract.infrastructure.entityaccess.domain.FineractEntityType;
 import org.apache.fineract.infrastructure.entityaccess.service.FineractEntityAccessUtil;
 import org.apache.fineract.infrastructure.security.service.PlatformSecurityContext;
-import org.apache.fineract.infrastructure.security.utils.SQLInjectionValidator;
 import org.apache.fineract.organisation.monetary.data.CurrencyData;
 import org.apache.fineract.portfolio.charge.data.ChargeData;
 import org.apache.fineract.portfolio.charge.service.ChargeReadPlatformService;
@@ -123,7 +122,8 @@ public class LoanProductReadPlatformServiceImpl implements LoanProductReadPlatfo
 
         if ((inClause != null) && (!(inClause.trim().isEmpty()))) {
             sql += " where lp.id in ("+inClause+") ";
-            SQLInjectionValidator.validateSQLInput(inClause);
+            //Here no need to check injection as this is internal where clause
+           // SQLInjectionValidator.validateSQLInput(inClause);
         }
 
         return this.jdbcTemplate.query(sql, rm, new Object[] {});


Mime
View raw message