Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 111 for slash (0.03 seconds)

  1. src/archive/zip/reader.go

    	if xdir != ydir {
    		return strings.Compare(xdir, ydir)
    	}
    	return strings.Compare(xelem, yelem)
    }
    
    // Open opens the named file in the ZIP archive,
    // using the semantics of fs.FS.Open:
    // paths are always slash separated, with no
    // leading / or ../ elements.
    func (r *Reader) Open(name string) (fs.File, error) {
    	r.initFileList()
    
    	if !fs.ValidPath(name) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial004_py310.py hl[6] *}
    
    /// tip | Astuce
    
    Vous pourriez avoir besoin que le paramètre contienne `/home/johndoe/myfile.txt`, avec un slash initial (`/`).
    
    Dans ce cas, l'URL serait : `/files//home/johndoe/myfile.txt`, avec un double slash (`//`) entre `files` et `home`.
    
    ///
    
    ## Récapitulatif { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFile.java

     * to referencing files and directories, jCIFS can also address servers,
     * and workgroups.
     * <p>
     * <strong><i>Important: all SMB URLs that represent
     * workgroups, servers, shares, or directories require a trailing slash '/'.
     * </i></strong>
     * <p>
     * When using the {@code java.net.URL} class with
     * 'smb://' URLs it is necessary to first call the static
     * {@code jcifs.Config.registerSmbURLHandler();} method. This is required
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                log.debug("Resolving DFS path " + path);
            }
    
            if (path.length() >= 2 && path.charAt(0) == '\\' && path.charAt(1) == '\\') {
                throw new SmbException("Path must not start with double slash: " + path);
            }
    
            try (SmbSessionImpl sess = getSmbSession(ctx, targetHost, targetDomain);
                    SmbTransportImpl transport = sess.getTransport();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  5. cmd/server_test.go

    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    	// Test the response when object name ends with a slash.
    	// This is a special case with size as '0' and object ends with
    	// a slash separator, we treat it like a valid operation and
    	// return success.
    	// The response Etag headers should contain Md5Sum of empty string.
    	objectName = "objectwith/"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectNamePrefixSlash: {
    		Code:           "XMinioInvalidObjectName",
    		Description:    "Object name contains a leading slash.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidResourceName: {
    		Code:           "XMinioInvalidResourceName",
    		Description:    "Resource name contains bad components such as \"..\" or \".\".",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  7. src/archive/tar/writer_test.go

    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    					}, 6e10, nil},
    					testClose{nil},
    				},
    		*/
    	}, {
    		file: "testdata/trailing-slash.tar",
    		tests: []testFnc{
    			testHeader{Header{Name: strings.Repeat("123456789/", 30)}, nil},
    			testClose{nil},
    		},
    	}, {
    		// Automatically promote zero value of Typeflag depending on the name.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  8. cmd/sts-handlers_test.go

    		Policies: []string{"readwrite"},
    	}
    
    	cases := []struct {
    		username string
    		dn       string
    		group    string
    	}{
    		{
    			username: "slashuser",
    			dn:       "uid=slash/user,ou=people,ou=swengg,dc=min,dc=io",
    		},
    		{
    			username: "dillon",
    			dn:       "uid=dillon,ou=people,ou=swengg,dc=min,dc=io",
    			group:    "cn=project/d,ou=groups,ou=swengg,dc=min,dc=io",
    		},
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  9. fastapi/applications.py

                    async def read_items():
                        return [{"item_id": "Foo"}]
                    ```
    
                    With this app, if a client goes to `/items` (without a trailing slash),
                    they will be automatically redirected with an HTTP status code of 307
                    to `/items/`.
                    """
                ),
            ] = True,
            docs_url: Annotated[
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  10. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 5.
    		// Test case with new object name is same as object to be copied.
    		// But source copy is without leading slash
    		5: {
    			bucketName:       bucketName,
    			newObjectName:    objectName,
    			copySourceSame:   true,
    			copySourceHeader: url.QueryEscape(bucketName + SlashSeparator + objectName),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
Back to Top