Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Alert (0.05 sec)

  1. src/crypto/tls/conn.go

    		} else {
    			var a alert
    			c.out.Lock()
    			if !errors.As(c.out.err, &a) {
    				a = alertInternalError
    			}
    			c.out.Unlock()
    			// Return an error which wraps both the handshake error and
    			// any alert error we may have sent, or alertInternalError
    			// if we didn't send an alert.
    			// Truncate the text of the alert to 0 characters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. src/text/template/exec_test.go

    	// HTML.
    	{"html", `{{html "<script>alert(\"XSS\");</script>"}}`,
    		"&lt;script&gt;alert(&#34;XSS&#34;);&lt;/script&gt;", nil, true},
    	{"html pipeline", `{{printf "<script>alert(\"XSS\");</script>" | html}}`,
    		"&lt;script&gt;alert(&#34;XSS&#34;);&lt;/script&gt;", nil, true},
    	{"html", `{{html .PS}}`, "a string", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_test.go

    		}
    
    		if test.validate != nil {
    			if err := test.validate(client.ConnectionState()); err != nil {
    				t.Errorf("validate callback returned error: %s", err)
    			}
    		}
    
    		// If the server sent us an alert after our last flight, give it a
    		// chance to arrive.
    		if write && test.renegotiationExpectedToFail == 0 {
    			if err := peekError(client); err != nil {
    				t.Errorf("final Read returned an error: %s", err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_server_test.go

    		config:  config,
    	}
    	runServerTestTLS12(t, test)
    }
    
    // TestHandshakeServerSNIGetCertificateError tests to make sure that errors in
    // GetCertificate result in a tls alert.
    func TestHandshakeServerSNIGetCertificateError(t *testing.T) {
    	const errMsg = "TestHandshakeServerSNIGetCertificateError error"
    
    	serverConfig := testConfig.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    		if gpdir == "" {
    			continue
    		}
    		if rel := search.InDir(dir, filepath.Join(gpdir, "src")); rel != "" && rel != "." {
    			path := filepath.ToSlash(rel)
    			// gorelease will alert users publishing their modules to fix their paths.
    			if err := module.CheckImportPath(path); err != nil {
    				badPathErr = err
    				break
    			}
    			return path, nil
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/css/manual.css

    .admonitionblock.warning td.icon {
    	background-color: var(--warning-color);
    	color: var(--warning-on-color)
    }
    
    .admonitionblock.warning td.icon i {
    	background-image: url(./img/octicons-16.svg#view-alert)
    }
    
    /* Custom collapsible block */
    details summary {
    	width: 100%;
    	padding: 1rem 0;
    	border-top: 1px solid gray;
    	position: relative;
    	cursor: pointer;
    	list-style: none;
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
Back to top