Convert AphrontFormView to safe HTML
Summary: Searched for `AphrontFormView` and then for `appendChild()`. Test Plan: /login/ Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2432 Differential Revision: https://secure.phabricator.com/D4855
This commit is contained in:
@@ -80,10 +80,10 @@ final class PhabricatorConduitConsoleController
|
||||
id(new AphrontFormMarkupControl())
|
||||
->setLabel('Errors')
|
||||
->setValue($error_description))
|
||||
->appendChild(
|
||||
->appendChild(hsprintf(
|
||||
'<p class="aphront-form-instructions">Enter parameters using '.
|
||||
'<strong>JSON</strong>. For instance, to enter a list, type: '.
|
||||
'<tt>["apple", "banana", "cherry"]</tt>');
|
||||
'<tt>["apple", "banana", "cherry"]</tt>'));
|
||||
|
||||
$params = $method_object->defineParamTypes();
|
||||
foreach ($params as $param => $desc) {
|
||||
|
||||
Reference in New Issue
Block a user