Home » HTTP » HTTP_WebDAV_Server » Bug #4970
http_PROPFIND slashifyied href's confuse Mac OS X
Details
| Submitted | 2005-08-02 14:30 UTC |
|---|---|
| From | wrandels at hsw dot fhz dot ch |
| Assigned | hholzgra |
| Status | Closed |
| Package | HTTP_WebDAV_Server |
| PHP Version | Irrelevant |
| OS | Mac OS X |
| Roadmaps | (Not assigned) |
Comments
[2005-08-02 14:30 UTC] wrandels at hsw dot fhz dot ch
Description:
------------
On Mac OS X, if a slash is appended to the href of a collection resource, then the collection is listed as a child of itself.
Test script:
---------------
To fix this, I have changed the following line in function http_PROPFIND() :
old:
$href = $this->_slashify($_SERVER['SCRIPT_NAME'] . $path);
changed:
$href = $_SERVER['SCRIPT_NAME'] . $path;
[2006-01-11 15:21 UTC] sl at yes-co dot nl
This would be more logical:
$href = $this->_slashify($_SERVER['SCRIPT_NAME']) . $path;
e.g. insert a slash between the script name and the path.