Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for sanitized (0.07 sec)

  1. src/main/java/jcifs/util/InputValidator.java

            }
            // Remove control characters and limit length
            String sanitized = input.replaceAll("[\\x00-\\x1f]", "");
            if (sanitized.length() > 1000) {
                sanitized = sanitized.substring(0, 997) + "...";
            }
            return sanitized;
        }
    
        /**
         * Validates that a value is within the specified range
         *
         * @param value the value to check
         * @param min minimum value (inclusive)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/InputValidatorTest.java

            // Test long string truncation
            String longString = "a".repeat(1100);
            String sanitized = InputValidator.sanitizeForLogging(longString);
            assertEquals(1000, sanitized.length());
            assertTrue(sanitized.endsWith("..."));
        }
    
        @Test
        @DisplayName("Test require non-empty validation")
        void testRequireNonEmpty() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            // Test that custom sessionId is sanitized
            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session-123";
    
            // Simulate what process() does - sanitize sessionId
            if (options.sessionId != null) {
                options.sessionId = options.sessionId.replaceAll("-", "_");
            }
    
            // Check that sessionId was sanitized (hyphens replaced with underscores)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/PathValidator.java

                if (lowerPath.startsWith(whitelisted) || lowerPath.equals(whitelisted)) {
                    return true;
                }
            }
            return false;
        }
    
        /**
         * Sanitize path for safe logging
         */
        private String sanitizeForLog(String path) {
            if (path == null) {
                return "null";
            }
    
            // Truncate long paths
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

        public void resetStats() {
            totalValidations.set(0);
            failedValidations.set(0);
            bufferOverflowsPrevented.set(0);
            integerOverflowsPrevented.set(0);
        }
    
        /**
         * Sanitize string for safe logging
         */
        private String sanitizeForLog(String str) {
            if (str == null) {
                return "null";
            }
    
            // Truncate long strings
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. README.md

    [![MinIO](https://raw.githubusercontent.com/minio/minio/master/.github/logo.svg?sanitize=true)](https://min.io)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. RELEASE.md

            *   Using `functools.partial` with an invalid `tf.function` input
        *   `tf.function` now enforces input parameter names to be valid Python identifiers. Incompatible names are automatically sanitized similarly to existing SavedModel signature behavior.
        *   Parameterless `tf.function`s are assumed to have an empty `input_signature` instead of an undefined one even if the `input_signature` is unspecified.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
  8. cmd/object-handlers.go

    	if srcObject == "" || srcBucket == "" {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL)
    		return
    	}
    
    	// Sanitize the source object name similar to NewMultipart and PutObject API
    	srcObject = trimLeadingSlash(srcObject)
    
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top