1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 08:42: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:
vrana 2013-02-02 13:54:20 -08:00
parent 87dc464159
commit 8e7af64dd6

View file

@ -110,9 +110,10 @@ final class DifferentialLintFieldSpecification
'style' => $this->getSeverityStyle($severity),
'name' => ucwords($severity),
'value' => hsprintf(
"(%s) %s at {$line_link}",
'(%s) %s at %s',
$code,
$name),
$name,
$line_link),
'show' => $show,
);