From 8cf117a1d3ae7381c335e037a0a5b97daef08667 Mon Sep 17 00:00:00 2001 From: rudolf Date: Thu, 11 Aug 2005 08:47:56 +0000 Subject: 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 --- .../moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'id.server/src/at/gv/egovernment/moa/id/auth') 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); -- cgit v1.2.3