1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Sanitize username and description in application tokens list

This commit is contained in:
mabashian 2018-12-07 14:24:12 -05:00
parent e517f81b8f
commit a8bf7366cf

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') }}"