You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2009/07/07 00:52:32 UTC
svn commit: r791643 -
/tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java
Author: markt
Date: Mon Jul 6 22:52:31 2009
New Revision: 791643
URL: http://svn.apache.org/viewvc?rev=791643&view=rev
Log:
Upper case was a red herring.
Thanks to http://greenbytes.de/tech/webdav/webdav-redirector-list.html
Modified:
tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java
Modified: tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java?rev=791643&r1=791642&r2=791643&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java (original)
+++ tomcat/trunk/java/org/apache/catalina/filters/WebdavFixFilter.java Mon Jul 6 22:52:31 2009
@@ -54,7 +54,6 @@
* XP x64 SP2 (MiniRedir Version 3790)
* <ul>
* <li>Only connects to port 80</li>
- * <li>Requires an upper case context path</li>
* <li>Unknown issue means it doesn't work</li>
* </ul>
*/
@@ -109,14 +108,12 @@
httpResponse.sendRedirect(buildRedirect(httpRequest));
} else if (ua.startsWith(UA_MINIDIR_5_2_3790)) {
// XP 64-bit SP2
- // Check context path case
- if (!httpRequest.getContextPath().equals(
- httpRequest.getContextPath().toUpperCase())) {
+ if (!"".equals(httpRequest.getContextPath())) {
log(request,
- "XP-x64-SP2 expects context path to be upper case");
+ "XP-x64-SP2 clients only work with the root context");
}
- // Some other, as yet unknown issue means I can't get this client
- // to work
+ // Namespace issue maybe
+ // see http://greenbytes.de/tech/webdav/webdav-redirector-list.html
log(request, "XP-x64-SP2 is known not to work with WebDAV Servlet");
chain.doFilter(request, response);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org