cziegeler 01/07/04 02:07:03 Modified: src/org/apache/cocoon/environment/http Tag: cocoon_20_branch HttpResponse.java Log: Encode url only once - this is not tested by every servlet engine Revision Changes Path No revision No revision 1.1.1.1.2.1 +4 -0 xml-cocoon2/src/org/apache/cocoon/environment/http/HttpResponse.java Index: HttpResponse.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/environment/http/HttpResponse.java,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- HttpResponse.java 2001/05/09 20:49:45 1.1.1.1 +++ HttpResponse.java 2001/07/04 09:06:56 1.1.1.1.2.1 @@ -65,10 +65,14 @@ } public String encodeURL(String url) { + if (url != null && url.indexOf(";jsessionid=") != -1) + return url; return this.res.encodeURL(url); } public String encodeRedirectURL(String url) { + if (url != null && url.indexOf(";jsessionid=") != -1) + return url; return this.res.encodeRedirectURL(url); } ---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]