Page MenuHomePhorge

D25138.1737346283.diff
No OneTemporary

D25138.1737346283.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
Mon, Jan 20, 04:11 (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1135593
Default Alt Text
D25138.1737346283.diff (576 B)

Event Timeline