Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for insensitive (0.19 sec)

  1. cmd/object-api-utils.go

    		etag = metadata["md5Sum"]
    	}
    	// Success.
    	return etag
    }
    
    // HasPrefix - Prefix matcher string matches prefix in a platform specific way.
    // For example on windows since its case insensitive we are supposed
    // to do case insensitive checks.
    func HasPrefix(s string, prefix string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return stringsHasPrefixFold(s, prefix)
    	}
    	return strings.HasPrefix(s, prefix)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. cmd/object-multipart-handlers.go

    	// so we do not want to override them, copy them instead.
    	for k, v := range encMetadata {
    		metadata[k] = v
    	}
    
    	// Ensure that metadata does not contain sensitive information
    	crypto.RemoveSensitiveEntries(metadata)
    
    	if isCompressible(r.Header, object) {
    		// Storing the compression metadata.
    		metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    			amzDate, errCode := parseAmzDateHeader(r)
    			if errCode != ErrNone {
    				if ok {
    					tc.FuncName = "handler.Auth"
    					tc.ResponseRecorder.LogErrBody = true
    				}
    
    				// All our internal APIs are sensitive towards Date
    				// header, for all requests where Date header is not
    				// present we will reject such clients.
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  4. internal/config/notify/help.go

    			Description: "webhook server endpoint e.g. http://localhost:8080/minio/events",
    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         target.WebhookAuthToken,
    			Description: "opaque string or JWT authorization token",
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         target.WebhookQueueDir,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  5. cmd/admin-handlers_test.go

    		// printEntries(exp)
    		// printEntries(got)
    		for i, e := range exp {
    			if !e.Timestamp.Equal(got[i].Timestamp) {
    				return i, false
    			}
    			// Skip checking elapsed since it's time sensitive.
    			// if e.Elapsed != got[i].Elapsed {
    			// 	return false
    			// }
    			if e.Resource != got[i].Resource {
    				return i, false
    			}
    			if e.Type != got[i].Type {
    				return i, false
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    func setPutObjHeaders(w http.ResponseWriter, objInfo ObjectInfo, delete bool) {
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	if objInfo.ETag != "" && !delete {
    		w.Header()[xhttp.ETag] = []string{`"` + objInfo.ETag + `"`}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. internal/config/config.go

    	}
    	return dynOnly, nil
    }
    
    // RedactSensitiveInfo - removes sensitive information
    // like urls and credentials from the configuration
    func (c Config) RedactSensitiveInfo() Config {
    	nc := c.Clone()
    
    	for configName, configVals := range nc {
    		for _, helpKV := range HelpSubSysMap[configName] {
    			if helpKV.Sensitive {
    				for name, kvs := range configVals {
    					for i := range kvs {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: "authorization token for plugin hook endpoint" + defaultHelpPostfix(AuthToken),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         RolePolicy,
    			Description: "policies to apply for plugin authorized users" + defaultHelpPostfix(RolePolicy),
    			Type:        "string",
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  9. internal/logger/logger.go

    func EnableJSON() {
    	color.TurnOff() // no colored outputs necessary in JSON mode.
    	jsonFlag = true
    	quietFlag = true
    }
    
    // EnableAnonymous - turns anonymous flag
    // to avoid printing sensitive information.
    func EnableAnonymous() {
    	anonFlag = true
    }
    
    // IsJSON - returns true if jsonFlag is true
    func IsJSON() bool {
    	return jsonFlag
    }
    
    // IsQuiet - returns true if quietFlag is true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. internal/etag/etag.go

    //
    // There are many different S3 client implementations. Most of them
    // access the ETag by looking for the HTTP response header key "Etag".
    // However, some of them assume that the header key has to be "ETag"
    // (case-sensitive) and will fail otherwise.
    // Further, some clients require that the ETag value is a double-quoted
    // string. Therefore, this package provides dedicated functions for
    // adding and extracting the ETag to/from HTTP headers.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top