aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-12-19 06:59:24 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-12-19 06:59:24 +0100
commite5a455e964eee1b5ed02521cd2bc563a04d16c85 (patch)
treecd407f75d9e9016015229b4548a0ab4ad4f76001 /id/server/idserverlib/src/main
parent5c624611466c97833c6f2f07688d7ad1232a2f45 (diff)
downloadmoa-id-spss-e5a455e964eee1b5ed02521cd2bc563a04d16c85.tar.gz
moa-id-spss-e5a455e964eee1b5ed02521cd2bc563a04d16c85.tar.bz2
moa-id-spss-e5a455e964eee1b5ed02521cd2bc563a04d16c85.zip
fix bug that encodes URLs twince
Diffstat (limited to 'id/server/idserverlib/src/main')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java
index a7f911845..a00de1da0 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/RedirectServlet.java
@@ -116,7 +116,7 @@ public class RedirectServlet {
authURL,
DefaultGUIFormBuilderConfiguration.VIEW_REDIRECT,
null);
- config.putCustomParameter(URL, StringEscapeUtils.escapeHtml(url));
+ config.putCustomParameterWithOutEscaption(URL, StringEscapeUtils.escapeHtml(url));
config.putCustomParameter(TARGET, redirectTarget);
guiBuilder.build(resp, config, "RedirectForm.html");
@@ -147,7 +147,7 @@ public class RedirectServlet {
authURL,
DefaultGUIFormBuilderConfiguration.VIEW_REDIRECT,
null);
- config.putCustomParameter(URL, StringEscapeUtils.escapeHtml(url));
+ config.putCustomParameterWithOutEscaption(URL, StringEscapeUtils.escapeHtml(url));
config.putCustomParameter(TARGET, redirectTarget);
guiBuilder.build(resp, config, "RedirectForm.html");