From fbd5e54c952663d0f0fab352d37d3baeefdb2e53 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 13 May 2021 23:47:42 -0700 Subject: improved tripcodes --- OutboxPost.go | 1 + 1 file changed, 1 insertion(+) (limited to 'OutboxPost.go') diff --git a/OutboxPost.go b/OutboxPost.go index fd87506..c9ceb12 100644 --- a/OutboxPost.go +++ b/OutboxPost.go @@ -365,6 +365,7 @@ func ObjectFromForm(r *http.Request, db *sql.DB, obj ObjectBase) ObjectBase { } obj.AttributedTo = EscapeString(r.FormValue("name")) + obj.TripCode = EscapeString(r.FormValue("tripcode")) obj.Name = EscapeString(r.FormValue("subject")) obj.Content = EscapeString(r.FormValue("comment")) -- cgit v1.2.3