diff options
author | FChannel <> | 2021-05-13 23:47:42 -0700 |
---|---|---|
committer | FChannel <> | 2021-05-13 23:47:42 -0700 |
commit | fbd5e54c952663d0f0fab352d37d3baeefdb2e53 (patch) | |
tree | 938214b4cd24f4a5340ab05d5e349e34e503eb1f /OutboxPost.go | |
parent | 20d0aee3f0bf987eb7e8999977bb25577df7b2d3 (diff) |
improved tripcodes
Diffstat (limited to 'OutboxPost.go')
-rw-r--r-- | OutboxPost.go | 1 |
1 files changed, 1 insertions, 0 deletions
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")) |