Skip to content

Commit 95adc59

Browse files
committed
Fix incorrect base64 string in test
1 parent b7a636c commit 95adc59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-tests/mix_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func TestMixInvalidBase64(t *testing.T) {
138138
func TestMixXSSAttack(t *testing.T) {
139139
s := assert.New(t)
140140
xssPayload := "<script>alert('XSS')</script>"
141-
encodedPayload := "PHNjcmlwdD5hbGVydCgnWFNTJylcL3NjcmlwdD4="
141+
encodedPayload := "PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4="
142142
resp, body := ExecRequest(R{
143143
Path: "mix/h=Content-Type:text%2Fhtml/b64=" + encodedPayload,
144144
})

0 commit comments

Comments
 (0)