Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trimLeadingSlash (0.06 sec)

  1. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL)
    		return
    	}
    
    	// Sanitize the source object name similar to NewMultipart and PutObject API
    	srcObject = trimLeadingSlash(srcObject)
    
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, VersionNotFound{
    				Bucket:    srcBucket,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top