mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 19:33:54 +01:00
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
dd8e9c6269
commit
0326f67f90
@ -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