From 69268e3325a8a8e41fab2f81ef6b0186242eb8b5 Mon Sep 17 00:00:00 2001 From: rudolf Date: Thu, 18 Aug 2005 13:59:22 +0000 Subject: 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 --- .../moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'id.server/src/at/gv/egovernment/moa/id') 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); -- cgit v1.2.3