Under PHP 8.1, PhabricatorEditorURIEngine::newForViewer() is throwing a trim(NULL) error when trying to view a diff.
This is because it tries to apply string operations to a user setting which will be null by default.
Fixes T15518
Differential D25324
Fix PHP 8.1 PhabricatorEditorURIEngine::newForViewer() trim(NULL) error Sten on Jul 3 2023, 16:43. Authored by
Details
Under PHP 8.1, PhabricatorEditorURIEngine::newForViewer() is throwing a trim(NULL) error when trying to view a diff. Fixes T15518
Diff Detail
Event TimelineComment Actions Thanks :) Soft +1 to wait for other thoughts. The test plan works for me. Personally I will hard+1 if we get rid of that strlen() since we have that possibility here, and it's not such a frequent possibility. |