You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2002/06/21 15:19:24 UTC
DO NOT REPLY [Bug 10115] New: -
WebDAV Exception when filename contains %
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10115>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10115
WebDAV Exception when filename contains %
Summary: WebDAV Exception when filename contains %
Product: Slide
Version: 1.0.16 Stable
Platform: Sun
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: WebDAV client
AssignedTo: slide-dev@jakarta.apache.org
ReportedBy: Alvan.Plymire@EmersonProcess.com
I have Apache httpd 2.0.39 running on a Solaris machine. Some of the file
names end with the "%" character (textedit tracks?).
When I use the WebDAV client to perform an "ls" of the directory, an
ArrayIndexOutOfBoundsException occurs because URIUtil.unexcape() expects
the "%" to be followed by two hex characters. Either mod_dav is not excaping
the filename correctly or WebDAV is not unescaping them correctly?
The stack trace at the exception is:
java.lang.ArrayIndexOutOfBoundsException
at org.apache.util.URIUtil.unescape(URIUtil.java:346)
at org.apache.util.URIUtil.unescape(URIUtil.java:320)
at org.apache.util.URIUtil.unescape(URIUtil.java:308)
at org.apache.util.GenericURI.getPath(GenericURI.java:774)
at org.apache.util.HttpURL.getName(HttpURL.java:500)
at org.apache.webdav.lib.WebdavResource.setWebdavProperties(WebdavResour
ce.java:803)
at org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java
:683)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>