mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-01-11 13:34:26 +00:00
Broken linting
This commit is contained in:
@@ -85,8 +85,8 @@ func TestSanitizeMap(t *testing.T) {
|
||||
sanitizer := DefaultSanitizer()
|
||||
|
||||
input := map[string]interface{}{
|
||||
"name": "<script>alert(1)</script>John",
|
||||
"email": "test@example.com",
|
||||
"name": "<script>alert(1)</script>John",
|
||||
"email": "test@example.com",
|
||||
"nested": map[string]interface{}{
|
||||
"bio": "<iframe src='evil.com'>Bio</iframe>",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user