Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for characters (0.04 sec)

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

                throw new SmbException("Path contains null bytes");
            }
    
            // Check for control characters
            if (strictMode && CONTROL_CHARS.matcher(path).find()) {
                log.warn("Path contains control characters: {}", sanitizeForLog(path));
                throw new SmbException("Path contains control characters");
            }
    
            // Check for traversal sequences
            if (containsTraversal(path)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

        }
    
        /**
         * Test name with special characters
         */
        public void test_name_specialCharacters() {
            // Test with spaces
            testTransformer.setName("name with spaces");
            assertEquals("name with spaces", testTransformer.getName());
    
            // Test with special characters
            testTransformer.setName("name-with_special.chars#123");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial004_an_py310.py hl[11] *}
    
    This specific regular expression pattern checks that the received parameter value:
    
    * `^`: starts with the following characters, doesn't have characters before.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            // Test with special characters in message
            String message = "LDAP error: \"Invalid <config>\" & 'bad chars' @ #$%^&*()";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        public void test_unicodeCharactersInMessage() {
            // Test with Unicode characters in message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertTrue(toStringResult.contains(message));
        }
    
        public void test_constructorWithScheduledJob_specialCharacters() {
            // Test with scheduled job that has special characters in toString
            ScheduledJob scheduledJob = new ScheduledJob() {
                @Override
                public String toString() {
                    return "Job[name=\"Test & Job\", id='<123>']";
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/InputValidator.java

        /**
         * Sanitizes a string for safe logging (removes control characters)
         *
         * @param input the string to sanitize
         * @return sanitized string safe for logging
         */
        public static String sanitizeForLogging(String input) {
            if (input == null) {
                return "null";
            }
            // Remove control characters and limit length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert deleteByQuery was called with special characters
            assertTrue(deleteByQueryCalled);
            assertEquals("fess.update-index$special%chars", deleteIndex);
    
            // Assert field name with special characters was used
            assertNotNull(deleteQuery);
            assertTrue(deleteQuery instanceof RangeQueryBuilder);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withSpecialCharacters() {
            // Test with special characters in message
            String message = "Search not supported: \n\t!@#$%^&*(){}[]|\\:;\"'<>,.?/~`";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

        }
    
        public void test_toLowercaseWildcard_internationalCharacters() {
            queryCommand.setLowercaseWildcard(true);
    
            // Test with various international characters
            assertEquals("äöü", queryCommand.toLowercaseWildcard("ÄÖÜ"));
            assertEquals("日本語", queryCommand.toLowercaseWildcard("日本語")); // Japanese doesn't change
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/InputValidatorTest.java

            // Test null input
            assertEquals("null", InputValidator.sanitizeForLogging(null));
    
            // Test normal string without control characters
            assertEquals("test", InputValidator.sanitizeForLogging("test"));
    
            // Test removal of control characters (they are removed, not replaced with spaces)
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\0string"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top