Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2695557
D25267.1734848012.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
678 B
Referenced Files
None
Subscribers
None
D25267.1734848012.diff
View Options
diff --git a/src/applications/conduit/controller/PhabricatorConduitAPIController.php b/src/applications/conduit/controller/PhabricatorConduitAPIController.php
--- a/src/applications/conduit/controller/PhabricatorConduitAPIController.php
+++ b/src/applications/conduit/controller/PhabricatorConduitAPIController.php
@@ -683,7 +683,7 @@
// Otherwise, look for a single parameter called 'params' which has the
// entire param dictionary JSON encoded.
$params_json = $request->getStr('params');
- if (strlen($params_json)) {
+ if (phutil_nonempty_string($params_json)) {
$params = null;
try {
$params = phutil_json_decode($params_json);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 06:13 (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1025244
Default Alt Text
D25267.1734848012.diff (678 B)
Attached To
Mode
D25267: Fix PHP 8.2 "trim(null)" exception which causes Conduit's user.whoami to fail
Attached
Detach File
Event Timeline
Log In to Comment