We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a636c commit 95adc59Copy full SHA for 95adc59
api-tests/mix_test.go
@@ -138,7 +138,7 @@ func TestMixInvalidBase64(t *testing.T) {
138
func TestMixXSSAttack(t *testing.T) {
139
s := assert.New(t)
140
xssPayload := "<script>alert('XSS')</script>"
141
- encodedPayload := "PHNjcmlwdD5hbGVydCgnWFNTJylcL3NjcmlwdD4="
+ encodedPayload := "PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4="
142
resp, body := ExecRequest(R{
143
Path: "mix/h=Content-Type:text%2Fhtml/b64=" + encodedPayload,
144
})
0 commit comments