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
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]