You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2019/07/10 20:02:02 UTC

[allura] branch master updated: [#8315] better display name handling

This is an automated email from the ASF dual-hosted git repository.

kentontaylor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new bcefc85  [#8315] better display name handling
bcefc85 is described below

commit bcefc8528d6ea378eb3ab7acac659212e26ee466
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Wed Jul 10 11:55:47 2019 -0400

    [#8315] better display name handling
---
 Allura/allura/public/nf/js/project_groups.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/public/nf/js/project_groups.js b/Allura/allura/public/nf/js/project_groups.js
index 6e3ff30..4d128e2 100644
--- a/Allura/allura/public/nf/js/project_groups.js
+++ b/Allura/allura/public/nf/js/project_groups.js
@@ -69,7 +69,7 @@ $(function() {
       else{
         holder.attr('data-user', data.username).addClass('deleter');
         holder.html(perm_delete_ico);
-        holder.find('.fa').after('&nbsp;' + data.displayname + ' (' + data.username + ')');
+        holder.find('.fa').after('&nbsp;' + escape_html(data.displayname) + ' (' + escape_html(data.username) + ')');
         holder.children('a.deleter').click(delete_user);
       }
     });