cziegeler 01/07/04 02:08:34
Modified: src/org/apache/cocoon/environment/http HttpResponse.java
Log:
Encode url only once - this is not tested by every servlet engine
Revision Changes Path
1.2 +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
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HttpResponse.java 2001/05/09 20:49:45 1.1
+++ HttpResponse.java 2001/07/04 09:08:27 1.2
@@ -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]