Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_escapeLDAPSearchFilter_withBackslash (0.18 seconds)

  1. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            assertEquals("user123", ldapManager.escapeLDAPSearchFilter("user123"));
            assertEquals("user.name", ldapManager.escapeLDAPSearchFilter("user.name"));
        }
    
        @Test
        public void test_escapeLDAPSearchFilter_withBackslash() {
            LdapManager ldapManager = new LdapManager();
            ldapManager.init();
    
            // Backslash should be escaped to \5c
            assertEquals("\\5c", ldapManager.escapeLDAPSearchFilter("\\"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
Back to Top