Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2909446
D25151.1737395113.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
644 B
Referenced Files
None
Subscribers
None
D25151.1737395113.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 17:45 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1133376
Default Alt Text
D25151.1737395113.diff (644 B)
Attached To
Mode
D25151: Fix PHP 8.1 "strlen(null)" exception which blocks loading icons when creating new Diffusion repository
Attached
Detach File
Event Timeline
Log In to Comment