mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
"applied http://cvs.php.net/viewvc.cgi/pear/HTTP_WebDAV_Server/Server.php?r1=1.73&r2=1.74&view=patch
to fix bug #1875: egw and lighttpd webdav: no put possible"
This commit is contained in:
parent
50624e5929
commit
d70874eabf
@ -1217,6 +1217,10 @@ class HTTP_WebDAV_Server
|
||||
$options["content_language"] = $val;
|
||||
break;
|
||||
|
||||
case 'HTTP_CONTENT_LENGTH':
|
||||
// defined on IIS and has the same value as CONTENT_LENGTH
|
||||
break;
|
||||
|
||||
case 'HTTP_CONTENT_LOCATION': // RFC 2616 14.14
|
||||
/* The meaning of the Content-Location header in PUT
|
||||
or POST requests is undefined; servers are free
|
||||
@ -1244,6 +1248,10 @@ class HTTP_WebDAV_Server
|
||||
// on implementations that do not support this ...
|
||||
break;
|
||||
|
||||
case 'HTTP_CONTENT_TYPE':
|
||||
// defined on IIS and has the same value as CONTENT_TYPE
|
||||
break;
|
||||
|
||||
case 'HTTP_CONTENT_MD5': // RFC 2616 14.15
|
||||
// TODO: maybe we can just pretend here?
|
||||
$this->http_status("501 not implemented");
|
||||
@ -2044,7 +2052,7 @@ class HTTP_WebDAV_Server
|
||||
{
|
||||
//error_log( __METHOD__."\n" .print_r($text,true));
|
||||
//error_log("prop-encode:" . print_r($this->_prop_encoding,true));
|
||||
|
||||
|
||||
switch (strtolower($this->_prop_encoding)) {
|
||||
case "utf-8":
|
||||
//error_log( __METHOD__."allready encoded\n" .print_r($text,true));
|
||||
|
Loading…
Reference in New Issue
Block a user