Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 36 for Backslash (0.06 seconds)

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

            assertEquals("\\server\\share", normalizedPath);
    
            // To properly test UNC rejection, we would need to fix the normalization logic
            // to preserve the leading double backslash for UNC paths
        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  2. apache-maven/src/assembly/maven/bin/mvn.cmd

    )
    
    if defined MAVEN_DEBUG_SCRIPT (
      echo [DEBUG] Final JVM_CONFIG_MAVEN_OPTS: %JVM_CONFIG_MAVEN_OPTS%
    )
    
    :endReadJvmConfig
    
    @REM do not let MAVEN_PROJECTBASEDIR end with a single backslash which would escape the double quote. This happens when .mvn at drive root.
    if "_%MAVEN_PROJECTBASEDIR:~-1%"=="_\" set "MAVEN_PROJECTBASEDIR=%MAVEN_PROJECTBASEDIR%\"
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 10.7K bytes
    - Click Count (3)
  3. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        @Test
        public void test_unescape_withBackslash() {
            String content = "word\\n1\n" + // word + n + 1
                    "word\\\n"; // word + (nothing after backslash)
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
            assertEquals(2, stopwordsFile.stopwordsItemList.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        @Override
        public void setPath(String path) {
            if (path.length() > 0 && path.charAt(0) == '\\') {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if (path.length() > 1 && path.charAt(path.length() - 1) == '\\') {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                    /*
                     * When DFS is in action all request paths are
                     * full UNC paths minus the first backslash like
                     * \server\share\path\to\file
                     * as opposed to normally
                     * \path\to\file
                     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            // Parentheses injection attempt
            assertEquals("cn=admin\\29\\28cn=\\2a,dc=example,dc=com", fessConfig.getLdapSecurityPrincipal("admin)(cn=*"));
    
            // Backslash
            assertEquals("cn=admin\\5ctest,dc=example,dc=com", fessConfig.getLdapSecurityPrincipal("admin\\test"));
        }
    
        @Test
        public void test_getLdapAdminUserFilter_escapesSpecialChars() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            source.put("title", "Title with \"quotes\" and \\backslash");
            source.put("content", "Line1\nLine2\tTabbed");
    
            final String json = new JsonIndexExportFormatter().format(source, Collections.emptySet());
    
            assertTrue(json.contains("\\\"quotes\\\""));
            assertTrue(json.contains("\\\\backslash"));
            assertTrue(json.contains("\\n"));
            assertTrue(json.contains("\\t"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

     * referrals. Nested resources will inherit the information already resolved by the parent resource.
     *
     * Invariant:
     * A directory resource must have a trailing slash/backslash for both URL and UNC path at all times.
     *
     * @author mbechler
     *
     */
    class SmbResourceLocatorImpl implements SmbResourceLocatorInternal, Cloneable {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            final PrintWriter writer = new PrintWriter(stringWriter);
    
            chatApiManager.sendSseEvent(writer, "chunk", Map.of("content", "Special chars: \"quotes\" and \\ backslash"));
    
            final String output = stringWriter.toString();
            assertTrue(output.contains("event: chunk"));
            // JSON should properly escape special characters
            assertTrue(output.contains("data:"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  10. cmd/object-api-utils.go

    //
    // You should avoid the following characters in a key name because of
    // significant special handling for consistency across all
    // applications.
    //
    // Rejects strings with following characters.
    //
    // - Backslash ("\")
    //
    // additionally minio does not support object names with trailing SlashSeparator.
    func IsValidObjectName(object string) bool {
    	if len(object) == 0 {
    		return false
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
Back to Top