]> 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)
committerPaul Wise <pabs@debian.org>
Fri, 2 Dec 2022 01:16:49 +0000 (09:16 +0800)
commite71013e25c1ca334b986e28f1caebb6b0cb69cb7
treeefc13ea5e3adc0f1a8aff27422c2a655e9470a44
parent1aa5061f8033c49525c7a2d424c43900cee19771
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
lib/Debbugs/Control.pm
scripts/process
scripts/service