Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for normalization (0.04 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

            PathValidator noUncValidator = new PathValidator(260, 255, false, false);
            // Due to normalization bug, UNC paths are not properly detected
            // The normalization removes all duplicate backslashes, so \\\\server becomes \server
            // This test validates that paths which should be UNC but aren't detected due to normalization
            // still pass validation (which is the current behavior, though not ideal)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * Utility class for text normalization and processing.
     *
     * This class provides methods to normalize text by reading characters from a provided Reader
     * and processing them according to specific rules. The main functionality is encapsulated
     * within the nested {@link TextNormalizeContext} class.
     *
     * <p>The text normalization process includes:
     * <ul>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

    /**
     * Helper class for document processing and manipulation in the Fess search system.
     * This class provides utilities for processing document content, titles, and digests,
     * handling text normalization, content extraction, and similar document hash encoding/decoding.
     * It also manages document processing requests and integrates with the crawler system.
     *
     */
    public class DocumentHelper {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. README.md

    ## Technology Stack
    
    - **Java**: 21+ (configured via parent POM)
    - **OpenSearch**: Latest (provided scope)
    - **Apache Lucene**: Query parsing and text analysis
    - **ICU4J**: Unicode text processing and normalization
    - **JUnit 4**: Testing framework
    - **Maven**: Build and dependency management
    
    ## Quick Start
    
    ### Prerequisites
    
    - Java 21 or higher
    - OpenSearch/Elasticsearch cluster (2.x+ recommended)
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  5. src/test/java/jcifs/util/InputValidatorTest.java

        void testInvalidPathCharacters(String path) {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateSmbPath(path));
        }
    
        @Test
        @DisplayName("Test path normalization")
        void testPathNormalization() {
            assertEquals("\\server\\share\\file.txt", InputValidator.normalizeSmbPath("/server/share/file.txt"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

     *       the configured analyzers.</li>
     * </ul>
     *
     * <p>Protected static class:</p>
     * <ul>
     *   <li>FieldAnalyzerMapping: Holds the analyzer names for different types of analysis (reading, reading term,
     *       normalization, contents, and contents reading) for a specific field.</li>
     * </ul>
     *
     * @see SuggestAnalyzer
     * @see FieldAnalyzerMapping
     */
    public class AnalyzerSettings {
        /** Analyzer name for reading. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

                assertNotNull(languages);
                if (languages.length > 0) {
                    // Note: The actual order might be different due to normalization
                    boolean hasEn = false, hasJa = false;
                    for (String lang : languages) {
                        if ("en".equals(lang))
                            hasEn = true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. build.gradle.kts

        doLast {
          for (configuration in configurations) {
            if (configuration.isCanBeResolved) {
              configuration.files
            }
          }
        }
      }
    
      normalization {
        runtimeClasspath {
          metaInf {
            ignoreAttribute("Bnd-LastModified")
          }
        }
      }
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (1)
  9. src/main/java/jcifs/util/PathValidator.java

    import jcifs.smb.SmbException;
    
    /**
     * Path validation utility to prevent directory traversal and other path-based attacks.
     *
     * Features:
     * - Directory traversal prevention
     * - Path normalization
     * - Blacklist/whitelist support
     * - UNC path validation
     * - Special character filtering
     * - Length validation
     */
    public class PathValidator {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            urlFilter.addExclude("https://example.com/.*");
    
            // Exclude should take precedence
            assertFalse(urlFilter.match("https://example.com/page"));
        }
    
        /**
         * Test URL normalization scenarios
         */
        public void test_urlNormalization() {
            String sessionId = "test-session-026";
            urlFilter.init(sessionId);
    
            urlFilter.addInclude("https://example.com/path/.*");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top