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

[allura] branch db/8315 created (now 0e386f1)

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

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


      at 0e386f1  [#8315] better display name handling

This branch includes the following new commits:

     new 0e386f1  [#8315] better display name handling

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[allura] 01/01: [#8315] better display name handling

Posted by br...@apache.org.
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 <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);
       }
     });