]> git.donarmstrong.com Git - debbugs.git/commitdiff
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)
committerPaul Wise <pabs@debian.org>
Fri, 2 Dec 2022 01:16:49 +0000 (09:16 +0800)
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

No differences found