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:
@@ -78,11 +78,11 @@ final class PhabricatorRepositoryCreateController
|
||||
->setValue($repository->getName())
|
||||
->setError($e_name)
|
||||
->setCaption('Human-readable repository name.'))
|
||||
->appendChild(
|
||||
->appendChild(hsprintf(
|
||||
'<p class="aphront-form-instructions">Select a "Callsign" — a '.
|
||||
'short, uppercase string to identify revisions in this repository. If '.
|
||||
'you choose "EX", revisions in this repository will be identified '.
|
||||
'with the prefix "rEX".</p>')
|
||||
'with the prefix "rEX".</p>'))
|
||||
->appendChild(
|
||||
id(new AphrontFormTextControl())
|
||||
->setLabel('Callsign')
|
||||
|
||||
Reference in New Issue
Block a user