Merge pull request #2888 from mabashian/sanitize-app-token-list

Sanitize username and description in application tokens list

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2018-12-07 21:42:38 +00:00 committed by GitHub
commit 42562e86e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,12 +15,12 @@
<at-row ng-repeat="user in users">
<div class="at-Row-items">
<at-row-item
header-value="{{ user.summary_fields.user.username }}"
header-value="{{ user.summary_fields.user.username | sanitize }}"
header-link="/#/users/{{ user.summary_fields.user.id }}">
</at-row-item>
<at-row-item
label-value="{{:: vm.strings.get('list.ROW_ITEM_LABEL_DESCRIPTION') }}"
value="{{ user.description }}">
value="{{ user.description | sanitize }}">
</at-row-item>
<at-row-item
label-value="{{:: vm.strings.get('list.ROW_ITEM_LABEL_EXPIRED') }}"