Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 101 for slash (0.02 sec)

  1. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                 * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the
                 * requested path. Normalize this here.
                 */
                if (reqPath.charAt(consumed - 1) == '\\') {
                    if (log.isDebugEnabled()) {
                        log.debug("Server consumed trailing slash of request path, adjusting");
                    }
                    dr.pathConsumed--;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         *            the Jar file (must not be {@literal null})
         * @param prefix
         *            the prefix that resource names must start with (must not be {@literal null}).
         *            If not empty, must end with a slash ('/').
         * @param handler
         *            the handler to process resources (must not be {@literal null})
         */
        public static void forEach(final JarFile jarFile, final String prefix, final ResourceHandler handler) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

        @DisplayName("doShareEnum early validation")
        class DoShareEnumValidation {
    
            static Stream<Arguments> invalidShareEnumCases() {
                return Stream.of(
                        // Missing trailing slash -> should complain about directory ending
                        Arguments.of("smb://server/share", "/share", true),
                        // Not a server root -> invalid list operation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    			return ObjectNameInvalid{
    				Bucket: bucket,
    				Object: object,
    			}
    		}
    	}
    	return nil
    }
    
    // SlashSeparator - slash separator.
    const SlashSeparator = "/"
    
    // SlashSeparatorChar - slash separator.
    const SlashSeparatorChar = '/'
    
    // retainSlash - retains slash from a path.
    func retainSlash(s string) string {
    	if s == "" {
    		return s
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

            /* Samba has a tendency to return referral paths and pathConsumed values
             * in such a way that there can be a slash at the end of the path. This
             * causes problems matching keys in resolve() where an extra slash causes
             * a mismatch. This strips trailing slashes from all keys to eliminate
             * this problem.
             */
            int ki = key.length();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial004.py hl[6] *}
    
    /// tip
    
    You might need the parameter to contain `/home/johndoe/myfile.txt`, with a leading slash (`/`).
    
    In that case, the URL would be: `/files//home/johndoe/myfile.txt`, with a double slash (`//`) between `files` and `home`.
    
    ///
    
    ## Recap { #recap }
    
    With **FastAPI**, by using short, intuitive and standard Python type declarations, you get:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    		// Test listing with marker > last object such that response should be empty (65)
    		{"test-bucket-single-object", "", "A/C", "", 1000, resultCases[34], nil, true},
    		// Test listing an object with a trailing slash and a slash delimiter (66)
    		{"test-bucket-list-object", "Asia-maps.png/", "", "/", 1000, resultCases[34], nil, true},
    		// Test listing an object with uncommon delimiter
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial004.py hl[6] *}
    
    /// tip | Astuce
    
    Vous pourriez avoir besoin que le paramètre contienne `/home/johndoe/myfile.txt`, avec un slash au début (`/`).
    
    Dans ce cas, l'URL serait : `/files//home/johndoe/myfile.txt`, avec un double slash (`//`) entre `files` et `home`.
    
    ///
    
    ## Récapitulatif
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                return 0;
            }
    
            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
        @DisplayName("open(): invalid URL path without trailing slash throws SmbException")
        void invalidUrlPathThrows() throws Exception {
            // Override the default setup for this specific test
            URL invalidUrl = new URL("smb://server/share/dir"); // no trailing '/'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportImplTest.java

            s2.close();
        }
    
        @Test
        @DisplayName("DFS referrals: invalid double-slash prefix triggers exception")
        void dfsReferrals_invalidPath() {
            CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1));
            assertTrue(ex.getMessage().contains("double slash"));
        }
    
        @Nested
        @MockitoSettings(strictness = Strictness.LENIENT)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top