From 3bf17752ab5b810eaa01f48c316ba9333055b20b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 20 Jan 2020 18:28:49 +0100 Subject: plugins/base: remove external resources URLs, sanitize CSS --- go.mod | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index e00e9dc..2f63a62 100644 --- a/go.mod +++ b/go.mod @@ -3,16 +3,20 @@ module git.sr.ht/~emersion/koushin go 1.13 require ( + github.com/aymerick/douceur v0.2.0 + github.com/chris-ramon/douceur v0.2.0 github.com/emersion/go-imap v1.0.3 github.com/emersion/go-imap-move v0.0.0-20190710073258-6e5a51a5b342 github.com/emersion/go-message v0.11.1 github.com/emersion/go-sasl v0.0.0-20191210011802-430746ea8b9b github.com/emersion/go-smtp v0.12.1 + github.com/gorilla/css v1.0.0 // indirect github.com/labstack/echo/v4 v4.1.13 github.com/labstack/gommon v0.3.0 + github.com/microcosm-cc/bluemonday v1.0.2 github.com/yuin/gopher-lua v0.0.0-20191220021717-ab39c6098bdb golang.org/x/crypto v0.0.0-20200117160349-530e935923ad // indirect - golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa // indirect - golang.org/x/sys v0.0.0-20200117145432-59e60aa80a0c // indirect + golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa + golang.org/x/sys v0.0.0-20200120151820-655fe14d7479 // indirect layeh.com/gopher-luar v1.0.7 ) -- cgit v1.2.3-59-g8ed1b