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 2004/11/17 12:22:12 UTC
DO NOT REPLY [Bug 32271] New: -
ant tasks fail when uri contains special characters
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32271>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32271
Summary: ant tasks fail when uri contains special characters
Product: Slide
Version: 2.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: WebDAV client
AssignedTo: slide-dev@jakarta.apache.org
ReportedBy: markus.printz@scansoft.com
at least the Put and Get tasks fail when a uri contains special characters. For
example if a folder has the name
"/files/packages/OSD.Configuration/$APP_BASEDIR" the corresponding methods fail
when performing compares between the href and the httpURL, because the hrefs
returned from the server have the '$' encoded to '%24'. Similiarly to bug report
#29987 the problem could be solved (for me) by introducing some
URIUtil.decode(...) calls at the right (?) place. I did this in
.../org/apache/webdav/lib/methods/XMLResponseMethodBase.java
In the method addResource I added the following two lines (at line 162)
path = URIUtil.decode(path);
relPath = URIUtil.decode(relPath);
After that at least the Get and the Put tasks worked fine for me.
I am using jakarta-slide-webdavclient-src-2.1b2
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org