From: Arthur Schiwon Date: Thu, 9 Apr 2015 12:49:11 +0000 (+0200) Subject: escape filter for output X-Git-Tag: v8.1.0alpha1~43^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ca9426308db4bf8843702dde145f6e8a9e10d583;p=nextcloud-server.git escape filter for output --- 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 = $('

').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):
' + filter); console.warn(filter); isHtml = true;