aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment
diff options
context:
space:
mode:
authorrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-11 08:47:56 +0000
committerrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-11 08:47:56 +0000
commit8cf117a1d3ae7381c335e037a0a5b97daef08667 (patch)
tree90811869094e05efbfa3b00e2372af465b5f6267 /id.server/src/at/gv/egovernment
parentfc4ece44b4c0abc17305cc9c5b6e26406aeb5ef8 (diff)
downloadmoa-id-spss-8cf117a1d3ae7381c335e037a0a5b97daef08667.tar.gz
moa-id-spss-8cf117a1d3ae7381c335e037a0a5b97daef08667.tar.bz2
moa-id-spss-8cf117a1d3ae7381c335e037a0a5b97daef08667.zip
fixed bug 274 (use URLEncoding in Target Parameter now)
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@435 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv/egovernment')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java
index d0f11c3bf..f39677051 100644
--- a/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java
+++ b/id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java
@@ -82,7 +82,7 @@ public class VerifyAuthenticationBlockServlet extends AuthServlet {
AuthenticationServer.getInstance().verifyAuthenticationBlock(sessionID, createXMLSignatureResponse);
String redirectURL = session.getOAURLRequested();
if (!session.getBusinessService()) {
- redirectURL = addURLParameter(redirectURL, PARAM_TARGET, session.getTarget());
+ redirectURL = addURLParameter(redirectURL, URLEncoder.encode(PARAM_TARGET, "UTF-8"), session.getTarget());
}
redirectURL = addURLParameter(redirectURL, PARAM_SAMLARTIFACT, URLEncoder.encode(samlArtifactBase64, "UTF-8"));
redirectURL = resp.encodeRedirectURL(redirectURL);