Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for styleStrEncodedProtocolEncoded (0.16 sec)

  1. src/html/template/escape_test.go

    		},
    		{
    			"styleStrBadProtocolBlocked",
    			`<a style="background: '{{"vbscript:alert(1337)"}}'">`,
    			`<a style="background: '#ZgotmplZ'">`,
    		},
    		{
    			"styleStrEncodedProtocolEncoded",
    			`<a style="background: '{{"javascript\\3a alert(1337)"}}'">`,
    			// The CSS string 'javascript\\3a alert(1337)' does not contain a colon.
    			`<a style="background: 'javascript\\3a alert\28 1337\29 '">`,
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
Back to top