tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: WebDAV characters bug?
Date Mon, 03 Oct 2005 19:50:29 GMT
Looks like a bug to me. Create a bugzilla entry for it and I'll try 
and take a look before the next release.

Mark

Roland Rabben wrote:
> I am using Tomcat 5.5.9 (on Windows XP) and WebDAV to upload files to my
> server. However it seems to be a bug or limitation in the Tomcat WebDAV
> that limits the use of some characters I frequently use.
> 
> Unsupported characters are :
> ; (semicolon)
> + (plus)
> # (pound)
> 
> I know these are reserved characters, so I have tried to URL encode
> them, but Tomcat ignores the URL encoding and writes the URL encoded
> filenames to disk. Eg. "myfile;01.txt" is saved like "myfile%B301.txt"
> on the server. Tomcat is configured to do URL Encoding. If I don't do
> URL Encoding it simply cuts the end of the filename from semicolon like
> "myfile".
> 
> This is my Connector configuration in server.xml:
>  <Connector port="80" 
>  maxHttpHeaderSize="8192" useBodyEncodingForURI="true"
> URIEncoding="UTF-8"
>  maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>  enableLookups="false" redirectPort="8443" acceptCount="100"
>  connectionTimeout="20000" disableUploadTimeout="true" />
> 
> I also tested this in Tomcat 5.5.12 with same problems. I have tested
> several clients. IE 6.0, DavExplorer and own code.
> 
> The reason I think this is a bug is because these characters are
> supported by Apache/mod_dav. 
> Anyone know of a fix to this problem, or if it is a known bug?
> 
> Regards
> Roland Rabben
> Technical Director
> Scala Nordic AS
> roland.rabben@no.scala.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message