summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-04-09 14:49:11 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-04-09 14:49:11 +0200
commitca9426308db4bf8843702dde145f6e8a9e10d583 (patch)
treecf2039010fad3df03b36e9734fe41c5ff5ad7aa5 /apps/user_ldap/js
parent3abc72dad8f1efa5722a24aa2366c6086899196c (diff)
downloadnextcloud-server-ca9426308db4bf8843702dde145f6e8a9e10d583.tar.gz
nextcloud-server-ca9426308db4bf8843702dde145f6e8a9e10d583.zip
escape filter for output
Diffstat (limited to 'apps/user_ldap/js')
-rw-r--r--apps/user_ldap/js/wizard/wizardTabLoginFilter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabLoginFilter.js b/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
index 3acb13ace21..5e9f0728b0e 100644
--- a/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
+++ b/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
@@ -140,7 +140,7 @@ OCA = OCA || {};
if(result.status === 'success') {
var usersFound = parseInt(result.changes.ldap_test_loginname, 10);
if(usersFound < 1) {
- var filter = result.changes.ldap_test_effective_filter;
+ var filter = $('<p>').text(result.changes.ldap_test_effective_filter).html();
message = t('user_ldap', 'User not found. Please check your login attributes and username. Effective filter (to copy-and-paste for command line validation): <br/>' + filter);
console.warn(filter);
isHtml = true;