summaryrefslogtreecommitdiffstats
path: root/go.sum
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2024-10-02 21:40:30 +0200
committerGeorg Pfuetzenreuter2024-10-02 21:40:30 +0200
commitd99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0 (patch)
treeec71a9d8bff6b0559bba44422bba7160fcc277cb /go.sum
parenta5cc5e031754db83816e59849de6cb75ff92f9ae (diff)
downloadwatbot-d99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0.tar.gz
watbot-d99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0.tar.bz2
watbot-d99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0.zip
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 <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'go.sum')
-rw-r--r--go.sum2
1 files changed, 2 insertions, 0 deletions
diff --git a/go.sum b/go.sum
index 0d79cef..22b3d5e 100644
--- a/go.sum
+++ b/go.sum
@@ -3,6 +3,8 @@ github.com/creasty/defaults v1.8.0/go.mod h1:iGzKe6pbEHnpMPtfDXZEr0NVxWnPTjb1bbD
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/ergochat/irc-go v0.4.0 h1:0YibCKfAAtwxQdNjLQd9xpIEPisLcJ45f8FNsMHAuZc=
+github.com/ergochat/irc-go v0.4.0/go.mod h1:2vi7KNpIPWnReB5hmLpl92eMywQvuIeIIGdt/FQCph0=
github.com/go-irc/irc v2.1.0+incompatible h1:pg7pMVq5OYQbqTxceByD/EN8VIsba7DtKn49rsCnG8Y=
github.com/go-irc/irc v2.1.0+incompatible/go.mod h1:jJILTRy8s/qOvusiKifAEfhQMVwft1ZwQaVJnnzmyX4=
github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=