mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Fix dynamic string usage as safe input in phutil_tag
Test Plan: $ arc lint Reviewers: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4797
This commit is contained in:
parent
87dc464159
commit
8e7af64dd6
1 changed files with 3 additions and 2 deletions
|
@ -110,9 +110,10 @@ final class DifferentialLintFieldSpecification
|
||||||
'style' => $this->getSeverityStyle($severity),
|
'style' => $this->getSeverityStyle($severity),
|
||||||
'name' => ucwords($severity),
|
'name' => ucwords($severity),
|
||||||
'value' => hsprintf(
|
'value' => hsprintf(
|
||||||
"(%s) %s at {$line_link}",
|
'(%s) %s at %s',
|
||||||
$code,
|
$code,
|
||||||
$name),
|
$name,
|
||||||
|
$line_link),
|
||||||
'show' => $show,
|
'show' => $show,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue