summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-06-16 15:23:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-06-16 15:23:08 +0200
commitb67588d35c2ebf031e4f4f46fbce73fd555d33e8 (patch)
treee46d3dfb0e9f0cfa0ea97eab966bd3e4f21bd1bc /settings
parent4fbab3c12db8bc23c7a4891005c00f6f302ae9e3 (diff)
parentf12c4f6d11707d3206eba109c49ee2d58705e791 (diff)
downloadnextcloud-server-b67588d35c2ebf031e4f4f46fbce73fd555d33e8.tar.gz
nextcloud-server-b67588d35c2ebf031e4f4f46fbce73fd555d33e8.zip
Merge pull request #9048 from owncloud/fix_9041
format group or username for delete notification, fixes #9041
Diffstat (limited to 'settings')
-rw-r--r--settings/js/users/deleteHandler.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/users/deleteHandler.js b/settings/js/users/deleteHandler.js
index 9cbe7cd514d..56355317f8d 100644
--- a/settings/js/users/deleteHandler.js
+++ b/settings/js/users/deleteHandler.js
@@ -93,8 +93,8 @@ DeleteHandler.prototype.showNotification = function() {
this.hideNotification();
}
$('#notification').data(this.notificationDataID, true);
- var msg = this.notificationMessage.replace(this.notificationPlaceholder,
- this.oidToDelete);
+ var msg = this.notificationMessage.replace(
+ this.notificationPlaceholder, escapeHTML(this.oidToDelete));
this.notifier.showHtml(msg);
}
};