Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isValidURLEndpoint (0.12 sec)

  1. cmd/common-main.go

    			if err != nil {
    				logger.Fatal(err, "Invalid MINIO_BROWSER_REDIRECT_URL value in environment variable")
    			}
    			// Look for if URL has invalid values and return error.
    			if !isValidURLEndpoint((*url.URL)(u)) {
    				err := fmt.Errorf("URL contains unexpected resources, expected URL to be one of http(s)://console.example.com or as a subpath via API endpoint http(s)://minio.example.com/minio format: %v", u)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	endpoint.SetIdx = i
    }
    
    // SetDiskIndex sets a specific disk number to this node
    func (endpoint *Endpoint) SetDiskIndex(i int) {
    	endpoint.DiskIdx = i
    }
    
    func isValidURLEndpoint(u *url.URL) bool {
    	// URL style of endpoint.
    	// Valid URL style endpoint is
    	// - Scheme field must contain "http" or "https"
    	// - All field should be empty except Host and Path.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
Back to top