@@ 216,6 216,8 @@ pub(crate) async fn tag_editor_action(
if data.name.trim().split_whitespace().count() > 1 {
err = Some("tag name may not contain whitespace".to_owned());
+ } else if data.name.contains('+') {
+ err = Some("tag name may not contain a plus sign (+)".to_owned());
} else {
db::update_tag(
pool.inner(),
@@ 257,6 259,8 @@ pub(crate) async fn new_tag_action(
if data.name.trim().split_whitespace().count() > 1 {
err = Some("tag name may not contain whitespace".to_owned());
+ } else if data.name.contains('+') {
+ err = Some("tag name may not contain a plus sign (+)".to_owned());
} else {
match db::create_tag(
pool.inner(),