diff options
author | FChannel <=> | 2021-01-28 15:52:22 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-28 15:52:22 -0800 |
commit | ee30189224579977a6c4d27aba4e1f0aacd91d57 (patch) | |
tree | 9a1dac812f03f276ab7e73bcdee1dd6ad3261d52 /OutboxPost.go | |
parent | cda2d90030a80731faa94977a13fcf09220e31ea (diff) |
removed \n from tripcode
Diffstat (limited to 'OutboxPost.go')
-rw-r--r-- | OutboxPost.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OutboxPost.go b/OutboxPost.go index aae2d45..7388aed 100644 --- a/OutboxPost.go +++ b/OutboxPost.go @@ -496,7 +496,7 @@ func CheckCaptcha(db *sql.DB, captcha string) bool { if (code == strings.ToUpper(parts[1])) { return true - } +p } return false } @@ -505,8 +505,7 @@ func ParseInboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { activity := GetActivityFromJson(r, db) header := r.Header.Get("Authorization") - - auth := strings.Split(header, " ") + auth := strings.Split(header, " ") switch(activity.Type) { case "Create": for _, e := range activity.To { |