Page MenuHomePhorge

D25138.1737804970.diff
No OneTemporary

D25138.1737804970.diff

diff --git a/src/applications/celerity/controller/CelerityResourceController.php b/src/applications/celerity/controller/CelerityResourceController.php
--- a/src/applications/celerity/controller/CelerityResourceController.php
+++ b/src/applications/celerity/controller/CelerityResourceController.php
@@ -113,7 +113,7 @@
$range = AphrontRequest::getHTTPHeader('Range');
- if (strlen($range)) {
+ if (phutil_nonempty_string($range)) {
$response->setContentLength(strlen($data));
list($range_begin, $range_end) = $response->parseHTTPRange($range);

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 25, 11:36 (3 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1135593
Default Alt Text
D25138.1737804970.diff (576 B)

Event Timeline