Page MenuHomePhorge

D25151.1738002074.diff
No OneTemporary

D25151.1738002074.diff

diff --git a/src/applications/files/controller/PhabricatorFileDataController.php b/src/applications/files/controller/PhabricatorFileDataController.php
--- a/src/applications/files/controller/PhabricatorFileDataController.php
+++ b/src/applications/files/controller/PhabricatorFileDataController.php
@@ -69,7 +69,7 @@
// an initial request for bytes 0-1 of the audio file, and things go south
// if we can't respond with a 206 Partial Content.
$range = $request->getHTTPHeader('range');
- if (strlen($range)) {
+ if (phutil_nonempty_string($range)) {
list($begin, $end) = $response->parseHTTPRange($range);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 18:21 (2 d, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1133376
Default Alt Text
D25151.1738002074.diff (644 B)

Event Timeline