Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 45 for Escapers (0.04 seconds)

  1. guava-tests/test/com/google/common/net/PercentEscaperTest.java

    /**
     * Tests for {@link PercentEscaper}.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    public class PercentEscaperTest extends TestCase {
    
      /** Tests that the simple escaper treats 0-9, a-z and A-Z as safe */
      public void testSimpleEscaper() {
        UnicodeEscaper e = new PercentEscaper("", false);
        for (char c = 0; c < 128; c++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/text/JsonUtil.java

    /**
     * JSON utilities.
     *
     * @author shinsuke
     *
     */
    public class JsonUtil {
    
        /**
         * Defualt constructor.
         */
        protected JsonUtil() {
        }
    
        /**
         * Escapes a value as Json string.
         *
         * @param value input
         * @return escaped string.
         */
        public static String escape(final String value) {
            if (value == null) {
                return null;
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. 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.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

                // Fallback to escaped plain text
                return escapeHtml(markdown);
            }
        }
    
        /**
         * Escapes HTML special characters for safe display.
         *
         * @param text the text to escape
         * @return HTML-escaped text
         */
        private String escapeHtml(final String text) {
            if (text == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. ADDING_NEW_LANGUAGE.md

    - Restart Fess application
    
    ### Translations not showing
    
    - Clear browser cache
    - Force language with `?browser_lang=[locale]` parameter
    - Check property file encoding (should be UTF-8 or use Unicode escapes `\uXXXX`)
    - Verify property keys match exactly with base English files
    
    ### Build errors after regeneration
    
    - Check property file syntax (no unescaped special characters)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  7. 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
         */
    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)
  8. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/chat/ChatClient.java

                        System.currentTimeMillis() - startTime);
                return Collections.emptyList();
            }
        }
    
        /**
         * Escapes special characters in the value for use in Fess queries.
         *
         * @param value the value to escape
         * @return the escaped value
         */
        protected String escapeQueryValue(final String value) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  10. docs/changelogs/changelog_2x.md

        depends on JUnit, though it continues to work with all testing frameworks.
     *  Fix: `FormEncodingBuilder` is now consistent with browsers in which
        characters it escapes. Previously we weren’t percent-encoding commas,
        parens, and other characters.
     *  Fix: Relax `FormEncodingBuilder` to support building empty forms.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
Back to Top