Page MenuHomePhabricator

D17627.diff
No OneTemporary

D17627.diff

diff --git a/src/aphront/response/AphrontFileResponse.php b/src/aphront/response/AphrontFileResponse.php
--- a/src/aphront/response/AphrontFileResponse.php
+++ b/src/aphront/response/AphrontFileResponse.php
@@ -94,7 +94,7 @@
array('Accept-Ranges', 'bytes'),
);
- if ($this->rangeMin || $this->rangeMax) {
+ if ($this->rangeMin !== null || $this->rangeMax !== null) {
$len = $this->getContentLength();
$min = $this->rangeMin;

File Metadata

Mime Type
text/plain
Expires
Aug 7 2025, 7:33 AM (11 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8611175
Default Alt Text
D17627.diff (462 B)

Event Timeline