summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-01-06 05:07:46 +0100
committerByron Jones <glob@mozilla.com>2015-01-06 05:07:46 +0100
commit50ae5be2272d46780a6d0eab3912500a6615fac9 (patch)
treee8f89f593f6192dcb979170dea22d0e486ff7b8c /extensions/BMO
parent7834fbf656adfa48344a6246611c3498831dc850 (diff)
downloadbugzilla-50ae5be2272d46780a6d0eab3912500a6615fac9.tar.gz
bugzilla-50ae5be2272d46780a6d0eab3912500a6615fac9.tar.xz
Bug 1117599: CVE ID format change: CVE-\d{4}-\d{4} becomes CVE-\d{4}-\d{4,} this year
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 7d182c7a3..66d909b45 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -555,7 +555,7 @@ sub bug_format_comment {
# link to CVE/CAN security releases
push (@$regexes, {
- match => qr/(?<!\/|=)\b((?:CVE|CAN)-\d{4}-(?:\d{4}|[1-9]\d{4,6})(?!\d))\b/,
+ match => qr/(?<!\/|=)\b((?:CVE|CAN)-\d{4}-(?:\d{4}|[1-9]\d{4,})(?!\d))\b/,
replace => sub {
my $args = shift;
my $match = html_quote($args->{matches}->[0]);