From d99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Wed, 2 Oct 2024 21:40:30 +0200 Subject: Strip formatting codes To allow for correct parsing of messages containing formatting codes and to avoid exploitation of unparseable messages, strip all formatting codes from a message when entering the parsing chain. Signed-off-by: Georg Pfuetzenreuter --- go.mod | 1 + 1 file changed, 1 insertion(+) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 84d6919..cbffbfa 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.15 require ( github.com/creasty/defaults v1.8.0 + github.com/ergochat/irc-go v0.4.0 github.com/go-irc/irc v2.1.0+incompatible github.com/stretchr/testify v1.9.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect -- cgit v1.2.3