You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just tried to use partialupdate plugin and found the following issue:
The documentation about the Partialupdate plugin describes the byte range header
X-Update-Range: bytes=3-6
as absolute values. So i assume that the endrange means the 6th byte of the file and not the 9th.
Given the plugin code in Sabre/DAV/PartialUpdate/Plugin.php on line 139 the $end variable is wrongly calculated in case of missing endrange
the current code
$end = ($range[1])?$range[1]:$len-1;
should be
$end = ($range[1])?$range[1]:$start+$len-1;
i already tested this problem and above solution seems working
The text was updated successfully, but these errors were encountered:
Hi,
just tried to use partialupdate plugin and found the following issue:
The documentation about the Partialupdate plugin describes the byte range header
X-Update-Range: bytes=3-6
as absolute values. So i assume that the endrange means the 6th byte of the file and not the 9th.
Given the plugin code in Sabre/DAV/PartialUpdate/Plugin.php on line 139 the $end variable is wrongly calculated in case of missing endrange
the current code
$end = ($range[1])?$range[1]:$len-1;
should be
$end = ($range[1])?$range[1]:$start+$len-1;
i already tested this problem and above solution seems working
The text was updated successfully, but these errors were encountered: