Home » HTTP » HTTP_WebDAV_Server » Bug #5317
Redirection doesn't work with all clients
Details
| Submitted | 2005-09-07 09:24 UTC |
|---|---|
| From | pear dot php dot net at chsc dot dk |
| Assigned | hholzgra |
| Status | Closed |
| Package | HTTP_WebDAV_Server |
| PHP Version | 5.0.4 |
| OS | Linux |
| 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)