Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 489 for _validate (0.07 sec)

  1. cmd/object-api-utils_test.go

    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName {
    				t.Errorf("path traversal allowed to allow writing to minioMetaBucket: %s", instanceType)
    			}
    		}
    	}
    }
    
    // Tests validate bucket name.
    func TestIsValidBucketName(t *testing.T) {
    	testCases := []struct {
    		bucketName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid bucket names.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    	case policyCondEqual:
    		return input1 == input2
    	case policyCondStartsWith:
    		return strings.HasPrefix(input1, input2)
    	}
    	return false
    }
    
    // checkPostPolicy - apply policy conditions and validate input values.
    // (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html)
    func checkPostPolicy(formValues http.Header, postPolicyForm PostPolicyForm) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params.md

    * `limit`: with a value of `10`
    
    As they are part of the URL, they are "naturally" strings.
    
    But when you declare them with Python types (in the example above, as `int`), they are converted to that type and validated against it.
    
    All the same process that applied for path parameters also applies for query parameters:
    
    * Editor support (obviously)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. impl/maven-core/lifecycle-executor.txt

              <type>java.lang.String[]</type>
              <required>false</required>
              <editable>true</editable>
            </parameter>
          </parameters>
    
    - we need to know what came from the POM, and validate those
    - plugin in any default values
    - check to see if anything is missing
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. istioctl/pkg/cli/context.go

    }
    
    func (i *instance) CLIClientsForContexts(contexts []string) ([]kube.CLIClient, error) {
    	if i.remoteClients == nil {
    		i.remoteClients = make(map[string]kube.CLIClient)
    	}
    	// Validate if "all" incoming contexts are present in the kubeconfig. Fail fast if not.
    	rawConfig, err := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(kube.ConfigLoadingRules(*i.kubeconfig), nil).RawConfig()
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. cmd/globals.go

    	// Contains NIC interface name used for internode communication
    	globalInternodeInterface     string
    	globalInternodeInterfaceOnce sync.Once
    
    	// Set last client perf extra time (get lock, and validate)
    	globalLastClientPerfExtraTime int64
    
    	// Captures all batch jobs metrics globally
    	globalBatchJobsMetrics batchJobMetrics
    
    	// Indicates if server was started as `--address ":0"`
    	globalDynamicAPIPort bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-updates.md

    You can actually use this same technique with an HTTP `PUT` operation.
    
    But the example here uses `PATCH` because it was created for these use cases.
    
    ///
    
    /// note
    
    Notice that the input model is still validated.
    
    So, if you want to receive partial updates that can omit all the attributes, you need to have a model with all the attributes marked as optional (with default values or `None`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                    logger.debug("jwtHeader: {}", jwtHeader);
                    logger.debug("jwtClaim: {}", jwtClaim);
                    logger.debug("jwtSigniture: {}", jwtSigniture);
                }
    
                // TODO validate signiture
    
                final Map<String, Object> attributes = new HashMap<>();
                attributes.put("accesstoken", tr.getAccessToken());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. internal/bucket/encryption/bucket-sse-config.go

    func ParseBucketSSEConfig(r io.Reader) (*BucketSSEConfig, error) {
    	var config BucketSSEConfig
    	err := xml.NewDecoder(r).Decode(&config)
    	if err != nil {
    		return nil, err
    	}
    
    	// Validates server-side encryption config rules
    	// Only one rule is allowed on AWS S3
    	if len(config.Rules) != 1 {
    		return nil, errors.New("only one server-side encryption rule is allowed at a time")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/storage/v1/generated.proto

      // tokens it is mounting volume for to do necessary authentication. Kubelet
      // will pass the tokens in VolumeContext in the CSI NodePublishVolume calls.
      // The CSI driver should parse and validate the following VolumeContext:
      // "csi.storage.k8s.io/serviceAccount.tokens": {
      //   "<audience>": {
      //     "token": <token>,
      //     "expirationTimestamp": <expiration timestamp in RFC3339>,
      //   },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top