aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-10-29 12:06:22 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-10-29 12:06:22 +0100
commit53c6beba7017b74955818f4768b76133f08e784e (patch)
tree2eea46749d9ca3709753658885c1be3f5e6b8070 /id/server/moa-id-commons/src/main/java
parentaf0f895ce9fac2fd5eb0faf4570881aace2198fa (diff)
downloadmoa-id-spss-53c6beba7017b74955818f4768b76133f08e784e.tar.gz
moa-id-spss-53c6beba7017b74955818f4768b76133f08e784e.tar.bz2
moa-id-spss-53c6beba7017b74955818f4768b76133f08e784e.zip
Update third-party libs
- some implementation updates was required
Diffstat (limited to 'id/server/moa-id-commons/src/main/java')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
index 46d3ca558..a3f445fcf 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java
@@ -27,11 +27,13 @@ import at.gv.egovernment.moa.id.commons.db.dao.config.OnlineApplication;
import at.gv.egovernment.moa.id.commons.db.dao.config.UserDatabase;
import at.gv.egovernment.moa.logging.Logger;
import at.gv.egovernment.moa.util.MiscUtil;
-import org.apache.commons.lang.StringEscapeUtils;
+//import org.apache.commons.lang.StringEscapeUtils;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceException;
+import org.apache.commons.lang3.StringEscapeUtils;
+
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -70,7 +72,7 @@ public class ConfigurationDBRead {
javax.persistence.Query query = session.createQuery(QUERIES.get("getActiveOnlineApplicationWithID"));
//query.setParameter("id", id+"%");
- query.setParameter("id", StringEscapeUtils.escapeHtml(id));
+ query.setParameter("id", StringEscapeUtils.escapeHtml4(id));
result = query.getResultList();
Logger.trace("Found entries: " + result.size());