Home » HTTP » HTTP_WebDAV_Server » Bug #1184
missing url decoding in function _copymove
Details
| Submitted | 2004-04-12 07:25 UTC |
|---|---|
| From | jo dot seiler at gmx dot de |
| Assigned | hholzgra |
| Status | Closed |
| Package | HTTP_WebDAV_Server |
| PHP Version | 4.3.0 |
| OS | Mac OS X 10.2.8 |
| Roadmaps | (Not assigned) |
Comments
[2004-04-12 07:25 UTC] jo dot seiler at gmx dot de
Description:
------------
the call of extract(parse_url($_SERVER["HTTP_DESTINATION"]))
might result in an undecoded url in $path while
$_SERVER["SCRIPT_NAME"] is always decoded.
example:
/%7Ejose/tfm/admin/webdav.php/Gedicht/text612.html
/~jose/tfm/admin/webdav.php
a call of
$path = urldecode($path);
fixes it and makes the comparison work.