Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 73 for URIs (0.05 sec)

  1. src/cmd/go/internal/web/url.go

    	if !filepath.IsAbs(path) {
    		return nil, errNotAbsolute
    	}
    
    	// If path has a Windows volume name, convert the volume to a host and prefix
    	// per https://blogs.msdn.microsoft.com/ie/2006/12/06/file-uris-in-windows/.
    	if vol := filepath.VolumeName(path); vol != "" {
    		if strings.HasPrefix(vol, `\\`) {
    			path = filepath.ToSlash(path[2:])
    			i := strings.IndexByte(path, '/')
    
    			if i < 0 {
    				// A degenerate case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 2K bytes
    - Viewed (0)
  2. pkg/controller/certificates/authority/authority_test.go

    				BasicConstraintsValid: true,
    			},
    		},
    		{
    			name:   "uri sans",
    			policy: PermissiveSigningPolicy{TTL: time.Hour, Now: nowFunc},
    			cr: x509.CertificateRequest{
    				URIs: []*url.URL{uri},
    			},
    			want: x509.Certificate{
    				URIs:                  []*url.URL{uri},
    				NotBefore:             now,
    				NotAfter:              now.Add(1 * time.Hour),
    				BasicConstraintsValid: true,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  3. pkg/spiffe/spiffe.go

    		}
    		if id == 0 {
    			peerCert = cert
    		} else {
    			intCertPool.AddCert(cert)
    		}
    	}
    	if len(peerCert.URIs) != 1 {
    		return fmt.Errorf("peer certificate does not contain 1 URI type SAN, detected %d", len(peerCert.URIs))
    	}
    	trustDomain, err := GetTrustDomainFromURISAN(peerCert.URIs[0].String())
    	if err != nil {
    		return err
    	}
    	rootCertPool, ok := v.certPools[trustDomain]
    	if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. pkg/test/echo/server/forwarder/config.go

    			if err != nil {
    				fwLog.Errorf("Failed to parse client certificate: %v", err)
    			}
    			fwLog.Debugf("Using client certificate [%s] issued by %s", cert.SerialNumber, cert.Issuer)
    			for _, uri := range cert.URIs {
    				fwLog.Debugf("  URI SAN: %s", uri)
    			}
    		}
    		// nolint: unparam
    		return func(info *tls.CertificateRequestInfo) (*tls.Certificate, error) {
    			fwLog.Debugf("Peer asking for client certificate")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

                apply from: '$server.uri/external.gradle'
                defaultTasks 'doStuff'
    """
    
            then:
            fails(":help")
                .assertHasCause("Applying script plugins from insecure URIs, without explicit opt-in, is unsupported. The provided URI '${server.uri("/external.gradle")}' uses an insecure protocol (HTTP).")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/web/url_windows_test.go

    var urlTests = []struct {
    	url          string
    	filePath     string
    	canonicalURL string // If empty, assume equal to url.
    	wantErr      string
    }{
    	// Examples from https://blogs.msdn.microsoft.com/ie/2006/12/06/file-uris-in-windows/:
    
    	{
    		url:      `file://laptop/My%20Documents/FileSchemeURIs.doc`,
    		filePath: `\\laptop\My Documents\FileSchemeURIs.doc`,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  7. docs/features/caching.md

    As recommended by the HTTP RFC the max age of a document is defaulted to 10% of the 
    document's age at the time it was served based on "Last-Modified". Default expiration dates aren't used for URIs 
    containing a query.
    
     - CallStart
     - **CacheHit**
     - CallEnd
     
    ### Cache Miss
    
    Under a cache miss the normal request events are seen but an additional event shows the presence of the cache.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. src/crypto/x509/x509.go

    	if (len(template.DNSNames) > 0 || len(template.EmailAddresses) > 0 || len(template.IPAddresses) > 0 || len(template.URIs) > 0) &&
    		!oidInExtensions(oidExtensionSubjectAltName, template.ExtraExtensions) {
    		sanBytes, err := marshalSANs(template.DNSNames, template.EmailAddresses, template.IPAddresses, template.URIs)
    		if err != nil {
    			return nil, err
    		}
    
    		ret = append(ret, pkix.Extension{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  9. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/SecureFileDownloader.java

                                    ". This URI was reached as a redirect from " + source + ". This is not supported, make sure no insecure URIs appear in the redirect");
                        });
            } catch (URISyntaxException e) {
                throw new InvalidUserCodeException("Cannot extract host information from specified URI " + source);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

        /**
         * Lenient legacy behavior to fall back to when URI cannot be normally parsed.
         */
        private static String fallbackUrlDecode(String path) {
            DeprecationLogger.deprecateBehaviour("Passing invalid URIs to URI or File converting methods.")
                .withAdvice("Use a valid URL or a file path instead.")
                .willBecomeAnErrorInGradle9()
                .withUpgradeGuideSection(8, "deprecated_invalid_url_decoding")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top