update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
@@ -260,7 +260,7 @@ public function prepare(Request $request): static
|
||||
if ($start < 0 || $start > $end) {
|
||||
$this->setStatusCode(416);
|
||||
$this->headers->set('Content-Range', \sprintf('bytes */%s', $fileSize));
|
||||
} elseif ($end - $start < $fileSize - 1) {
|
||||
} else {
|
||||
$this->maxlen = $end < $fileSize ? $end - $start + 1 : -1;
|
||||
$this->offset = $start;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user