Bug 27942 - Missing setFollowRedirects(true)
Summary: Missing setFollowRedirects(true)
Status: RESOLVED FIXED
Alias: None
Product: Slide
Classification: Unclassified
Component: WebDAV client (show other bugs)
Version: 2.0
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 12:49 UTC by Michael Zapf
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zapf 2004-03-25 12:49:01 UTC
I had problems when adressing folders without trailing slash. Apache 2.0.40 (as server with 
mod_dav) returns 301 for accessing "/folder" instead of "/folder/". However, the webdav client 
lib did not call setFollowRedirect(true) on the HttpMethodBase. The real trouble is that while 
getting the childResources, the new URLs are build by appending the displayName to the base 
name, but without adding a trailing slash. 
 
(See WebdavResource.setWebdavProperties(Enumeration responses).) 
 
A workable solution for me was to put a setFollowRedirects(true) in all 
XMLResponseMethodBase constructors.
Comment 1 Ingo Brunberg 2004-07-02 14:23:16 UTC
This will be fixed in the 2.1 release.