Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for backslashes (2.63 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/UploadForm.java

         */
        @Required
        public MultipartFormFile designFile;
    
        /**
         * The name for the design file being uploaded.
         * Must not contain invalid file system characters like backslash, colon, asterisk, etc.
         */
        @Pattern(regexp = "^[^\\\\|/|:|\\*|?|\"|<|>|\\|]+$", message = "{errors.design_file_name_is_invalid}")
        public String designFileName;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            verify(tree, times(1)).acquire();
            verify(tree, times(1)).release(); // closed after failure
        }
    
        @Test
        @DisplayName("open(): invalid UNC without trailing backslash throws SmbException")
        void invalidUncThrows() throws Exception {
            // Override the default setup for this specific test
            when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir"); // missing trailing \\
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

            assertFalse(CharUtil.isUrlChar('<')); // less than
            assertFalse(CharUtil.isUrlChar('>')); // greater than
            assertFalse(CharUtil.isUrlChar('"')); // double quote
            assertFalse(CharUtil.isUrlChar('\\')); // backslash
            assertFalse(CharUtil.isUrlChar('`')); // backtick
        }
    
        public void test_isUrlChar_controlCharacters() {
            // Test control characters
            assertFalse(CharUtil.isUrlChar('\u0000')); // null
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTree.java

                if (inDfs && !service.equals("IPC") && request.path != null && request.path.length() > 0) {
                    /* 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
                     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        @Test
        @DisplayName("handleDFSReferral returns resolved UNC path as stubbed")
        void handleDfsReferralValidInputs() {
            // Edge-like Windows UNC-style: a single backslash in the path
            String reqPath = "\\";
            String resolved = "smb://server/share/path";
            when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        }
    
        /**
         * Escapes specific characters in a query string.
         * Replaces each specified character with its escaped version (prefixed with backslash).
         *
         * @param q the query string to escape
         * @param values the characters to escape
         * @return the escaped query string
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. 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
                     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (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 {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. 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;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        /**
         * Escapes special characters in an LDAP search filter to prevent LDAP injection attacks.
         *
         * <p>This method escapes the following characters as per RFC 4515:
         * <ul>
         * <li>\ (backslash) → \5c</li>
         * <li>* (asterisk) → \2a</li>
         * <li>( (left parenthesis) → \28</li>
         * <li>) (right parenthesis) → \29</li>
         * <li>\0 (null character) → \00</li>
         * </ul>
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 86.3K bytes
    - Viewed (0)
Back to top