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
Mon, Oct 27, 4:35 PM (3 h, 45 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8611175
Default Alt Text
D17627.diff (462 B)

Event Timeline