svn commit: r576328 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r576328 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

lektran
Author: lektran
Date: Mon Sep 17 02:34:06 2007
New Revision: 576328

URL: http://svn.apache.org/viewvc?rev=576328&view=rev
Log:
Applied patch from Vinay Agarwal OFBIZ-102, "cross-redirect" wasn't being stripped from the url.

Modified:
    ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=576328&r1=576327&r2=576328&view=diff
==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java Mon Sep 17 02:34:06 2007
@@ -414,6 +414,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:")) {