Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for escapeValue (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            if (keyObj instanceof final UrlQueue<?> urlQueue) {
                return escapeValue(urlQueue.getUrl());
            }
            if (keyObj instanceof final StatsKeyObject statsKey) {
                return escapeValue(statsKey.getUrl());
            }
            if (keyObj instanceof final String key) {
                return escapeValue(key);
            }
            if (keyObj instanceof final Number key) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapUtil.java

         * @return the escaped value safe for use in LDAP search filters
         * @see <a href="https://tools.ietf.org/html/rfc4515">RFC 4515 - LDAP String Representation of Search Filters</a>
         */
        public static String escapeValue(final String value) {
            if (value == null) {
                return "";
            }
            final StringBuilder sb = new StringBuilder(value.length() * 2);
            for (int i = 0; i < value.length(); i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         * @see <a href="https://tools.ietf.org/html/rfc4515">RFC 4515 - LDAP String Representation of Search Filters</a>
         * @deprecated Use {@link LdapUtil#escapeValue(String)} instead
         */
        @Deprecated
        protected String escapeLDAPSearchFilter(final String filter) {
            return LdapUtil.escapeValue(filter);
        }
    
        /**
         * Normalizes a permission name based on configuration settings.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertTrue(values[3].startsWith("test_action:"));
        }
    
        @Test
        public void test_escapeValue() {
            String input = "test\twith\ttabs";
            String escaped = crawlerStatsHelper.escapeValue(input);
            assertEquals("test with tabs", escaped);
            assertFalse(escaped.contains("\t"));
        }
    
        @Test
        public void test_statsKeyObjectWithoutUrl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
Back to Top