diff options
author | rudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-08-18 13:59:22 +0000 |
---|---|---|
committer | rudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-08-18 13:59:22 +0000 |
commit | 69268e3325a8a8e41fab2f81ef6b0186242eb8b5 (patch) | |
tree | 3cd0f32f634ebada137bdd25783cadf969b9d40b /id.server/src | |
parent | 6b9f76a24a3a440707d20d20754051d8dd8c0834 (diff) | |
download | moa-id-spss-69268e3325a8a8e41fab2f81ef6b0186242eb8b5.tar.gz moa-id-spss-69268e3325a8a8e41fab2f81ef6b0186242eb8b5.tar.bz2 moa-id-spss-69268e3325a8a8e41fab2f81ef6b0186242eb8b5.zip |
Bug 274 (URLEncoding von Parameter Target) fixed
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@445 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src')
-rw-r--r-- | id.server/src/at/gv/egovernment/moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java | 4 |
1 files changed, 2 insertions, 2 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 f39677051..56d506e1b 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 @@ -81,8 +81,8 @@ public class VerifyAuthenticationBlockServlet extends AuthServlet { String samlArtifactBase64 = AuthenticationServer.getInstance().verifyAuthenticationBlock(sessionID, createXMLSignatureResponse); String redirectURL = session.getOAURLRequested(); - if (!session.getBusinessService()) { - redirectURL = addURLParameter(redirectURL, URLEncoder.encode(PARAM_TARGET, "UTF-8"), session.getTarget()); + if (!session.getBusinessService()) { + redirectURL = addURLParameter(redirectURL, PARAM_TARGET, URLEncoder.encode(session.getTarget(), "UTF-8")); } redirectURL = addURLParameter(redirectURL, PARAM_SAMLARTIFACT, URLEncoder.encode(samlArtifactBase64, "UTF-8")); redirectURL = resp.encodeRedirectURL(redirectURL); |