@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix PHP 8.1 "strlen(null)" exception inCelerityResourceController to make CSS/JS load

Summary:
On a fresh installation with PHP 8.1, CSS does not load on the account creation page.

Closes T15283

Test Plan: After applying this change (and D25137), the account creation page is rendered correctly. See the screenshot in T15283

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15283

Differential Revision: https://we.phorge.it/D25138

+1 -1
+1 -1
src/applications/celerity/controller/CelerityResourceController.php
··· 113 113 114 114 $range = AphrontRequest::getHTTPHeader('Range'); 115 115 116 - if (strlen($range)) { 116 + if (phutil_nonempty_string($range)) { 117 117 $response->setContentLength(strlen($data)); 118 118 119 119 list($range_begin, $range_end) = $response->parseHTTPRange($range);