diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-09 23:12:26 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-09 23:12:26 +0200 |
commit | 78c0cc6089b584db08871108a979f72c1245dc1e (patch) | |
tree | d7314b3bfafbc12e21315780d2c1ce3987b8c0ec | |
parent | 1083085e6e1727d3e9008c0f8a0729fbdade39f3 (diff) | |
download | nextcloud-server-78c0cc6089b584db08871108a979f72c1245dc1e.tar.gz nextcloud-server-78c0cc6089b584db08871108a979f72c1245dc1e.zip |
escape display name and email
-rw-r--r-- | core/js/share.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index 2813570f718..372f3513799 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -348,7 +348,7 @@ OC.Share={ }) .data("ui-autocomplete")._renderItem = function( ul, item ) { return $( "<li>" ) - .append( "<a>" + item.displayname + "<br>" + item.email + "</a>" ) + .append( "<a>" + escapeHTML(item.displayname) + "<br>" + escapeHTML(item.email) + "</a>" ) .appendTo( ul ); }; } |