diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-08-14 15:18:49 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-08-14 15:18:49 +0200 |
commit | cc8c1d8e0776bda7f4c7c28e11984144a4861df3 (patch) | |
tree | a7a43fed088e1f8956eace0e73e8811a1a1c89d5 /autotest.sh | |
parent | a4b416f115d551b8b1c6a5953ef87bb728697f33 (diff) | |
download | nextcloud-server-cc8c1d8e0776bda7f4c7c28e11984144a4861df3.tar.gz nextcloud-server-cc8c1d8e0776bda7f4c7c28e11984144a4861df3.zip |
Return whole file if range request cannot be granted due to encryption
Whenenver range headers are set and encryption is enabled, it is not
possible to automatically fseek() to the proper position.
To avoid returning corrupt/invalid data or causing a decryption error,
the range headers are stripped so that the SabreDAV code in httpGet()
returns the whole file.
Diffstat (limited to 'autotest.sh')
0 files changed, 0 insertions, 0 deletions