Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Escapers (0.15 sec)

  1. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            if (value.split("\\s").length > 1) {
                return new StringBuilder().append('"').append(value.replace('"', ' ')).append('"').toString();
            }
            return value;
        }
    
        /**
         * Escapes special characters in a query string if escaping is enabled.
         * Replaces reserved characters with their escaped equivalents based on the Constants.RESERVED array.
         *
         * @param value the query string to escape
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        }
    
        /**
         * Escapes a callback name.
         * @param callbackName The callback name.
         * @return The escaped callback name.
         */
        protected String escapeCallbackName(final String callbackName) {
            return "/**/" + callbackName.replaceAll("[^0-9a-zA-Z_\\$\\.]", StringUtil.EMPTY);
        }
    
        /**
         * Escapes a JSON object.
         * @param obj The object to escape.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            }
            if (keyObj instanceof final Number key) {
                return OptionalThing.of(key.toString());
            }
            return OptionalThing.empty();
        }
    
        /**
         * Escapes special characters in a value string for safe logging.
         *
         * @param action the string value to escape
         * @return the escaped string with tabs replaced by spaces
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                return escape(s) + ".*";
            }
            final StringBuilder buf = new StringBuilder(100);
            return appendFileterPath(buf, escape(s));
        }
    
        /**
         * Escapes special regex characters in a string to create a literal pattern.
         * Handles anchor characters (^ and $) specially to preserve their regex meaning.
         *
         * @param s the string to escape
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                if (StringUtil.isNotBlank(text)) {
                    return escapeHighlight(text);
                }
            }
    
            return StringUtil.EMPTY;
        }
    
        /**
         * Escapes HTML and applies highlighting to text.
         * Handles boundary position detection if enabled.
         *
         * @param text the text to process
         * @return the escaped and highlighted text
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                    return fessConfig.getRoleSearchGroupPrefix();
                }
            }
            return null;
        }
    
        /**
         * Escapes special characters in an LDAP search filter to prevent injection attacks.
         *
         * @param filter the LDAP search filter to escape
         * @return the escaped filter string
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
Back to top