allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [allura] 01/01: [#8315] better display name handling
Date Wed, 10 Jul 2019 15:57:15 GMT
This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8315
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 0e386f1d6e2d589d522a25ca61f6e9294c3609d4
Author: Dave Brondsema <dave@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);
       }
     });


Mime
View raw message