From 437c8525af5495916a19025d5eade565a09fe5c2 Mon Sep 17 00:00:00 2001 From: Tim Loderhose Date: Mon, 30 May 2022 18:28:53 +0200 Subject: [PATCH] Remove group tag arbitrary length limit (#645) --- changedetectionio/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/forms.py b/changedetectionio/forms.py index 4e790c21d..e6f419789 100644 --- a/changedetectionio/forms.py +++ b/changedetectionio/forms.py @@ -307,7 +307,7 @@ class ValidateCSSJSONXPATHInput(object): class quickWatchForm(Form): url = fields.URLField('URL', validators=[validateURL()]) - tag = StringField('Group tag', [validators.Optional(), validators.Length(max=35)]) + tag = StringField('Group tag', [validators.Optional()]) # Common to a single watch and the global settings class commonSettingsForm(Form): @@ -323,7 +323,7 @@ class commonSettingsForm(Form): class watchForm(commonSettingsForm): url = fields.URLField('URL', validators=[validateURL()]) - tag = StringField('Group tag', [validators.Optional(), validators.Length(max=35)], default='') + tag = StringField('Group tag', [validators.Optional()], default='') time_between_check = FormField(TimeBetweenCheckForm)