PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_WebDAV_Server » Bug #5317

Redirection doesn't work with all clients

Details

Submitted2005-09-07 09:24 UTC
Frompear dot php dot net at chsc dot dk
Assignedhholzgra
StatusClosed
PackageHTTP_WebDAV_Server
PHP Version5.0.4
OSLinux
Roadmaps(Not assigned)

Comments

[2005-09-07 09:24 UTC] pear dot php dot net at chsc dot dk

Description:
------------
The Windows XP web folder client (not MiniRedir) appearently doesn't like being redirected. But things work, if we just omit the redirect.

Changing line 164 from

if (!strlen($this->path)) {

to

if (!strlen($this->path) && $_SERVER['HTTP_USER_AGENT'] != 'Microsoft Data Access Internet Publishing Provider DAV 1.1') {

appears to fix the problem.

[2005-09-07 09:26 UTC] pear dot php dot net at chsc dot dk

(changing summary - bug was created with wrong summary due to some auto-form-fill feature in my browser)