Merge pull request #12709 from owncloud/fix-11955
Skip headers that can not be split
This commit is contained in:
commit
4d2573bff7
|
@ -120,6 +120,9 @@ if($source) {
|
|||
$freeSpace = $storageStats['freeSpace'];
|
||||
|
||||
foreach($meta['wrapper_data'] as $header) {
|
||||
if (strpos($header, ':') === false){
|
||||
continue;
|
||||
}
|
||||
list($name, $value) = explode(':', $header);
|
||||
if ('content-length' === strtolower(trim($name))) {
|
||||
$length = (int) trim($value);
|
||||
|
|
Loading…
Reference in New Issue