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 #5377

Notice: Undefined offset: 1 at HTTP_WebDAV_Server::_copymove() in /var/www/

Details

Submitted2005-09-13 08:19 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-13 08:19 UTC] pear dot php dot net at chsc dot dk

Description:
------------
When doing a MOVE operation, a PHP Notice is triggered by line 1392:

list($http_header_host,$http_header_port) = explode(":",$_SERVER["HTTP_HOST"]);

The notice can be muted using @, or an if condition can be used to check that HTTP_HOST contains a colon.