Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15284921
D17627.id42396.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
462 B
Referenced Files
None
Subscribers
None
D17627.id42396.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 5, 10:57 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225234
Default Alt Text
D17627.id42396.diff (462 B)
Attached To
Mode
D17627: When requesting file data, make "Range: bytes=0-" work correctly
Attached
Detach File
Event Timeline
Log In to Comment