High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
Increase the arbitrarily low max-input-length limit. Closes #1416.
Kailash Nadh2215511f2c17
diff --git a/cmd/campaigns.go b/cmd/campaigns.goindex 01918397..517b989a 100644--- a/cmd/campaigns.go+++ b/cmd/campaigns.go@@ -538,10 +538,6 @@ func validateCampaignFields(c campaignReq, app *App) (campaignReq, error) {return c, errors.New(app.i18n.T("campaigns.fieldInvalidSubject"))}- // if !hasLen(c.Body, 1, bodyMaxLen) {- // return c,errors.New("invalid length for `body`")- // }-// If there's a "send_at" date, it should be in the future.if c.SendAt.Valid {if c.SendAt.Time.Before(time.Now()) {diff --git a/cmd/handlers.go b/cmd/handlers.goindex 35008e0f..0f3aaa8d 100644--- a/cmd/handlers.go+++ b/cmd/handlers.go@@ -13,7 +13,7 @@ import (const (// stdInputMaxLen is the maximum allowed length for a standard input field.- stdInputMaxLen = 200+ stdInputMaxLen = 2000sortAsc = "asc"sortDesc = "desc"