Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for sanitized (0.06 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. guava/src/com/google/common/util/concurrent/Monitor.java

          return (startTime == 0L) ? 1L : startTime;
        }
      }
    
      /**
       * Returns the remaining nanos until the given timeout, or 0L if the timeout has already elapsed.
       * Caller must have previously sanitized timeoutNanos using toSafeNanos.
       */
      private static long remainingNanos(long startTime, long timeoutNanos) {
        // assert timeoutNanos == 0L || startTime != 0L;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    er",validatorFunction:function(a,b,c){if(""!==a){var d,e,f=b.valAttr("allowing")||"",g=b.valAttr("decimal-separator")||c.decimalSeparator,h=!1,i=b.valAttr("step")||"",j=!1,k=b.attr("data-sanitize")||"",l=k.match(/(^|[\s])numberFormat([\s]|$)/i);if(l){if(!window.numeral)throw new ReferenceError("The data-sanitize value numberFormat cannot be used without the numeral library. Please see Data Validation in http://www.formvalidator.net for more information.");a.length&&(a=String(numeral().unformat(a...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 32.8K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/math/Quantiles.java

     * worst case time complexity of O(N^2). You are extremely unlikely to hit this quadratic case on
     * randomly ordered data (the probability decreases faster than exponentially in N), but if you are
     * passing in unsanitized user data then a malicious user could force it. A light shuffle of the
     * data using an unpredictable seed should normally be enough to thwart this attack.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  10. cmd/testdata/xl-meta-merge.zip

    604800)](https://hub.docker.com/r/minio/minio/) [![license](https://img.shields.io/badge/license-AGPL%20V3-blue)](https://github.com/minio/minio/blob/master/LICENSE) [![MinIO](https://raw.githubusercontent.com/minio/minio/master/.github/logo.svg?sanitize=true)](https://min.io) MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning,...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top