Page MenuHomePhorge

D25151.1737395425.diff
No OneTemporary

D25151.1737395425.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 20, 17:50 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1133376
Default Alt Text
D25151.1737395425.diff (644 B)

Event Timeline