Author: ate
Date: Fri Apr 14 04:58:18 2006
New Revision: 394066
URL: http://svn.apache.org/viewcvs?rev=394066&view=rev
Log:
Fix for JS2-405: Logout Problem when running behind Apache with mod_jk
See http://issues.us.apache.org/jira/browse/JS2-405
Modified:
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LogoutServlet.java
Modified:
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LogoutServlet.java
URL:
http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LogoutServlet.java?rev=394066&r1=394065&r2=394066&view=diff
==============================================================================
---
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LogoutServlet.java
(original)
+++
portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/login/LogoutServlet.java
Fri Apr 14 04:58:18 2006
@@ -38,7 +38,7 @@
request.getSession(true).invalidate();
if (destination == null)
{
- destination = request.getContextPath();
+ destination = request.getContextPath() + "/";
}
response.sendRedirect(response.encodeURL(destination));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]