all repos — honk @ c2664b500d197b9cecf1a8adb0fca2c6705cb687

my fork of honk

add an intake length limit
Ted Unangst tedu@tedunangst.com
Thu, 03 Oct 2019 00:23:46 -0400
commit

c2664b500d197b9cecf1a8adb0fca2c6705cb687

parent

2637c77d42c478659691c14e2554ed2a6e930f1f

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M activity.goactivity.go

@@ -769,6 +769,11 @@ if currenttid == "" {

currenttid = convoy } + if len(content) > 90001 { + log.Printf("content too long. truncating") + content = content[:90001] + } + // grab any inline imgs imgfilt := htfilter.New() imgfilt.Imager = inlineimgs