Author: mposolda
Date: 2012-02-28 13:03:49 -0500 (Tue, 28 Feb 2012)
New Revision: 8479
Modified:
epp/portal/branches/EPP_5_2_Branch/component/web/security/src/main/java/org/exoplatform/web/security/PortalLoginController.java
Log:
GTNPORTAL-2318 initialURI needs to be encoded during transition between login processes
Modified:
epp/portal/branches/EPP_5_2_Branch/component/web/security/src/main/java/org/exoplatform/web/security/PortalLoginController.java
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/component/web/security/src/main/java/org/exoplatform/web/security/PortalLoginController.java 2012-02-28
17:26:34 UTC (rev 8478)
+++
epp/portal/branches/EPP_5_2_Branch/component/web/security/src/main/java/org/exoplatform/web/security/PortalLoginController.java 2012-02-28
18:03:49 UTC (rev 8479)
@@ -93,7 +93,7 @@
}
//
- String redirectURI = req.getContextPath() + "/dologin?initialURI=" +
uri;
+ String redirectURI = req.getContextPath() + "/dologin?initialURI=" +
URLEncoder.encode(uri, "UTF-8");
resp.sendRedirect(resp.encodeRedirectURL(redirectURI));
}