Bug 34910 - Cannot start webdav transactions on resource with space.
Summary: Cannot start webdav transactions on resource with space.
Status: NEW
Alias: None
Product: Slide
Classification: Unclassified
Component: WebDAV client (show other bugs)
Version: 2.1
Hardware: Other other
: P3 major with 2 votes (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-13 20:53 UTC by Ray Sprinkle
Modified: 2007-01-20 15:00 UTC (History)
1 user (show)



Attachments
Encode url passed to LockMethod in startTransaction(). (726 bytes, patch)
2005-05-19 17:54 UTC, Ray Sprinkle
Details | Diff
Patches startTransaction and endTransaction (1.15 KB, patch)
2005-05-24 19:13 UTC, Ray Sprinkle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Sprinkle 2005-05-13 20:53:30 UTC
If you try to start a transaction using the webdav client and the current path
contains a space then the transaction fails with an invalid URI format
exception. Comparing the code for WebdavResource.startTransaction() and
WebdavResource.lockMethod(), it appears that startTransaction() is improperly
using an unescaped path.
Comment 1 Ray Sprinkle 2005-05-19 17:54:00 UTC
Created attachment 15081 [details]
Encode url passed to LockMethod in startTransaction().

This patch makes WebdavResource.startTransaction() consistent with
WebdavResource.lockMethod().
Comment 2 Ray Sprinkle 2005-05-24 19:13:41 UTC
Created attachment 15149 [details]
Patches startTransaction and endTransaction

Replaces previous patch to WebdavResource.  URI encodes the path used by both
the startTransaction() and endTransaction() methods.  Previous patch only fixed
startTransaction().