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

401 in response to OPTIONS request

Details

Request #5363401 in response to OPTIONS request
Submitted2005-09-12 09:12 UTC
Frompear dot php dot net at chsc dot dk
StatusFeedback
PackageHTTP_WebDAV_Server
PHP Version5.0.4
OSLinux
Roadmaps1.2

Comments

[2005-09-12 09:12 UTC] pear dot php dot net at chsc dot dk

Description:
------------
If the WebDAV server sends a 401 Authorization required response to an OPTIONS request from MS MiniRedir (Microsoft-WebDAV-MiniRedir/5.1.2600), the client gives up and hands over the connection the other client in Win XP, (Microsoft Data Access Internet Publishing Provider Cache Manager). Using MiniRedir is usually preferred over the other client.

An OPTIONS request doesn't reveal much information about the system, so I don't think it would be a big problem if OPTIONS request didn't ask for authorization.

The behaviour can be changed achieved by changing the line

if (!$this->_check_auth()) {

in ServeRequest() to something like

if ($_SERVER['REQUEST_METHOD'] != 'OPTIONS' && !$this->_check_auth()) {

[2005-09-12 12:55 UTC] pear dot php dot net at chsc dot dk

Summary changed (my browser's auto-fill function filled out the field)