From 9dff645549ed968c9bff9b415c73ffa7c8fedd52 Mon Sep 17 00:00:00 2001 From: rudolf Date: Mon, 28 Jun 2004 20:38:36 +0000 Subject: set ContentType (HotSign 1.2SR4 workaround) (RSCH) git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@138 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../moa/id/auth/servlet/VerifyAuthenticationBlockServlet.java | 1 + 1 file changed, 1 insertion(+) (limited to 'id.server/src/at/gv/egovernment/moa') 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 de5f03dd7..ea53a8427 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 @@ -83,6 +83,7 @@ public class VerifyAuthenticationBlockServlet extends AuthServlet { redirectURL = addURLParameter(redirectURL, PARAM_TARGET, session.getTarget()); redirectURL = addURLParameter(redirectURL, PARAM_SAMLARTIFACT, URLEncoder.encode(samlArtifactBase64)); redirectURL = resp.encodeRedirectURL(redirectURL); + resp.setContentType("text/html"); resp.setStatus(302); resp.addHeader("Location", redirectURL); Logger.debug("REDIRECT TO: " + redirectURL); -- cgit v1.2.3