Page MenuHomePhorge

D25138.1738076331.diff
No OneTemporary

D25138.1738076331.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
Tue, Jan 28, 14:58 (2 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1135593
Default Alt Text
D25138.1738076331.diff (576 B)

Event Timeline