From 03a8dfb7242eb01995ef1c78fa61b567c9c45ca9 Mon Sep 17 00:00:00 2001 From: i8abyte Date: Wed, 15 Nov 2023 15:11:37 +1300 Subject: [PATCH] fix: add "button" to false positives --- falsepositives.go | 1 + goaway_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/falsepositives.go b/falsepositives.go index bcac251..559340f 100644 --- a/falsepositives.go +++ b/falsepositives.go @@ -19,6 +19,7 @@ var DefaultFalsePositives = []string{ "cass", // cassie, cassandra, carcass "butter", // butter, butterfly "butthe", + "button", "canvass", "circum", "clitheroe", diff --git a/goaway_test.go b/goaway_test.go index 5085cd3..55187e5 100644 --- a/goaway_test.go +++ b/goaway_test.go @@ -517,6 +517,7 @@ func TestFalsePositives(t *testing.T) { "systems exist", // systemS EXist "saturday", // saTURDay "therapeutic", + "button", } tests := []struct { name string