Author: jleroux
Date: Sat Sep 22 05:39:38 2007
New Revision: 578420
URL:
http://svn.apache.org/viewvc?rev=578420&view=revLog:
Applied fix from trunk for revision: 576328
Modified:
ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
Modified: ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=578420&r1=578419&r2=578420&view=diff==============================================================================
--- ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/branches/release4.0/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Sat Sep 22 05:39:38 2007
@@ -407,6 +407,7 @@
} else if (nextView != null && nextView.startsWith("cross-redirect:")) {
// check for a cross-application redirect
Debug.logInfo("[RequestHandler.doRequest]: Response is a Cross-Application redirect." + " sessionId=" + UtilHttp.getSessionId(request), module);
+ nextView = nextView.substring(15);
String url = nextView.startsWith("/") ? nextView : "/" + nextView;
callRedirect(url + this.makeQueryString(request), response, request);
} else if (nextView != null && nextView.startsWith("request-redirect:")) {