Page MenuHomePhorge

Fix an instance of `strlen(null)`
ClosedPublic

Authored by avivey on Feb 23 2024, 11:29.
Tags
None
Referenced Files
F3220228: D25539.1741800644.diff
Tue, Mar 11, 17:30
F3220226: D25539.1741800643.diff
Tue, Mar 11, 17:30
F3220225: D25539.1741800642.diff
Tue, Mar 11, 17:30
F3214497: D25539.1741559322.diff
Sat, Mar 8, 22:28
F3210475: D25539.1741442477.diff
Fri, Mar 7, 14:01
F3001455: D25539.1740442146.diff
Mon, Feb 24, 00:09
F3001453: D25539.1740442142.diff
Mon, Feb 24, 00:09
F2996611: D25539.1740382382.diff
Sun, Feb 23, 07:33

Details

Summary

Ref Q112, ref T15064.

Test Plan

Enter the text [[hello]] in a remarkup field - without this change, it causes a deprecation warning in the log.

This doesn't happen if the content looks like a valid URL - this is the "Wiki Link" syntax.

Diff Detail

Repository
rP Phorge
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1070
Build 1070: arc lint + arc unit

Event Timeline

avivey requested review of this revision.Feb 23 2024, 11:29
src/applications/phriction/markup/PhrictionRemarkupRule.php
75–80

I'm pretty much guessing that this is the only place explicitName can be created. $name is extracted from a regexp inline 19.

This revision is now accepted and ready to land.Feb 23 2024, 13:14
This revision was automatically updated to reflect the committed changes.