escape filter for output
This commit is contained in:
parent
3abc72dad8
commit
ca9426308d
|
@ -140,7 +140,7 @@ OCA = OCA || {};
|
||||||
if(result.status === 'success') {
|
if(result.status === 'success') {
|
||||||
var usersFound = parseInt(result.changes.ldap_test_loginname, 10);
|
var usersFound = parseInt(result.changes.ldap_test_loginname, 10);
|
||||||
if(usersFound < 1) {
|
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);
|
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);
|
console.warn(filter);
|
||||||
isHtml = true;
|
isHtml = true;
|
||||||
|
|
Loading…
Reference in New Issue