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
Fri, Mar 21, 12:26 AM (4 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225234
Default Alt Text
D17627.diff (462 B)

Event Timeline