aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-12-19 12:23:32 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-12-19 12:23:32 +0100
commit0f040e6f4ad8f46615d8369036747969913c09b0 (patch)
tree541c4b67c29a0553a9cb11e63150daa1f937fc8b
parent5de371ac0affbf75bab89263261f362b5254fc38 (diff)
downloadmoa-id-spss-0f040e6f4ad8f46615d8369036747969913c09b0.tar.gz
moa-id-spss-0f040e6f4ad8f46615d8369036747969913c09b0.tar.bz2
moa-id-spss-0f040e6f4ad8f46615d8369036747969913c09b0.zip
update some more escaptionsMOA-ID-3.3.1
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AbstractController.java5
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java4
2 files changed, 4 insertions, 5 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AbstractController.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AbstractController.java
index dcf337213..f61b9a4da 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AbstractController.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/AbstractController.java
@@ -249,13 +249,12 @@ public abstract class AbstractController extends MOAIDAuthConstants {
null);
//add errorcode and errormessage
- config.putCustomParameter("errorMsg", StringEscapeUtils.escapeHtml(msg));
+ config.putCustomParameter("errorMsg", msg);
config.putCustomParameter("errorCode", errorCode);
//add stacktrace if debug is enabled
if (Logger.isTraceEnabled()) {
- config.putCustomParameter("stacktrace",
- StringEscapeUtils.escapeHtml(getStacktraceFromException(error)));
+ config.putCustomParameter("stacktrace", getStacktraceFromException(error));
}
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java
index bb849a8d0..aaa57fb1d 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java
@@ -630,8 +630,8 @@ public class AuthenticationManager extends MOAIDAuthConstants {
DefaultGUIFormBuilderConfiguration.VIEW_SINGLELOGOUT,
null);
- config.putCustomParameter("redirectURLs", sloReqList);
- config.putCustomParameter("timeoutURL", timeOutURL);
+ config.putCustomParameterWithOutEscaption("redirectURLs", sloReqList);
+ config.putCustomParameterWithOutEscaption("timeoutURL", timeOutURL);
config.putCustomParameter("timeout", SLOTIMEOUT);
guiBuilder.build(httpResp, config, "Single-LogOut GUI");