]> git.donarmstrong.com Git - debbugs.git/commit
Prevent usertags created at submit time from including invalid trailing chars
authorPaul Wise <pabs@debian.org>
Fri, 2 Dec 2022 01:16:49 +0000 (09:16 +0800)
committerDon Armstrong <don@donarmstrong.com>
Sun, 26 Mar 2023 23:06:17 +0000 (16:06 -0700)
commitef4c574be2696bd0161cccb643e2968e295b782e
tree17228041970361b9f6657f0a80dff9a5fcc9382a
parenta7c7ddad38320d0ac2830d480388a9992fabf7d0
Prevent usertags created at submit time from including invalid trailing chars

There were two regex validating included characters but the one used at submit
time only checked for valid characters at the start of the usertag string.

Also factor the usertag validity regex into a function to reduce duplication.

Fixes: commit d8c69d152175704304656c19e1da1043fd24491e
Debbugs/Control.pm
scripts/process
scripts/service