Page MenuHomePhabricator

D17627.id42397.diff
No OneTemporary

D17627.id42397.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
Sun, May 19, 8:49 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6274628
Default Alt Text
D17627.id42397.diff (462 B)

Event Timeline