PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTTP » HTTP_WebDAV_Server » Bug #1184

missing url decoding in function _copymove

Details

Submitted2004-04-12 07:25 UTC
Fromjo dot seiler at gmx dot de
Assignedhholzgra
StatusClosed
PackageHTTP_WebDAV_Server
PHP Version4.3.0
OSMac 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.