Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for delicious (0.14 sec)

  1. cmd/iam.go

    	if ok {
    		parentInClaim, ok := p.(string)
    		if !ok {
    			// Reject malformed/malicious requests.
    			return false
    		}
    		// The parent claim in the session token should be equal
    		// to the parent detected in the backend
    		if parentInClaim != parentUser {
    			return false
    		}
    	} else {
    		// This is needed so a malicious user cannot
    		// use a leaked session key of another user
    		// to widen its privileges.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/generic-handlers.go

    		switch strings.TrimSpace(p) {
    		case dotdotComponent:
    			return true
    		case dotComponent:
    			return true
    		}
    	}
    	return false
    }
    
    // Check if client is sending a malicious request.
    func hasMultipleAuth(r *http.Request) bool {
    	authTypeCount := 0
    	for _, hasValidAuth := range []func(*http.Request) bool{
    		isRequestSignatureV2, isRequestPresignedSignatureV2,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
Back to top