Author: jleroux
Date: Tue Feb 10 14:36:21 2009
New Revision: 742983
URL:
http://svn.apache.org/viewvc?rev=742983&view=revLog:
A patch from Arun Patidar "Fixed the bug when response type is 'request-redirect' and query string is available." (
https://issues.apache.org/jira/browse/OFBIZ-2179) - OFBIZ-2179
Not sure it's the best fix as maybe it fixes only the effect and not the cause, but at least for now it works!
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=742983&r1=742982&r2=742983&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 Tue Feb 10 14:36:21 2009
@@ -767,7 +767,7 @@
public String makeLinkWithQueryString(HttpServletRequest request, HttpServletResponse response, String url, ConfigXMLReader.RequestResponse requestResponse) {
String initialLink = this.makeLink(request, response, url);
String queryString = this.makeQueryString(request, requestResponse);
- return initialLink + queryString;
+ return initialLink + "?" + queryString;
}
public String makeLink(HttpServletRequest request, HttpServletResponse response, String url) {