forked from extern/egroupware
WIP getting PUT with range-requests working for chunked uploades
eg. for RAI client With this commit it should work for regular / non-versioned files
This commit is contained in:
parent
960b06536e
commit
62e272ee1e
@ -523,7 +523,8 @@ class HTTP_WebDAV_Server_Filesystem extends HTTP_WebDAV_Server
|
||||
return "403 Forbidden";
|
||||
}
|
||||
|
||||
$fp = fopen($fspath, "w");
|
||||
// for range requests we need to open with "r+" as "w" truncates the file!
|
||||
$fp = fopen($fspath, empty($options['ranges']) ? "w" : "r+");
|
||||
|
||||
return $fp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user