Merge pull request #2832 from Haokun-Chen/fixed-sanitize-output

fixed
This commit is contained in:
Haokun Chen 2018-08-14 12:09:52 -04:00 committed by GitHub
commit 21f0c1d1d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ function AddApplicationsController (models, $state, strings, $scope, Alert, $fil
${strings.get('add.NAME_LABEL')}
</div>
<div class="PopupModal-value">
${res.data.name}
${$filter('sanitize')(res.data.name)}
</div>
</div>` : '';
const clientId = res.data.client_id ?
@ -90,7 +90,7 @@ function AddApplicationsController (models, $state, strings, $scope, Alert, $fil
</div>` : '';
Alert(strings.get('add.MODAL_HEADER'), `
${$filter('sanitize')(name)}
${name}
${clientId}
${clientSecret}
`, null, null, null, null, null, true);