summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-08-08 08:02:31 +0200
committerByron Jones <bjones@mozilla.com>2012-08-08 08:02:31 +0200
commit29caf8e8fb9a28121fe9615d4cfcbb81342a551e (patch)
treeb263f4e70fd7b15c96720f35043bd1285d69be1e /extensions
parentf32129a482f89b9f65f8359b47a7ec62091b8e12 (diff)
downloadbugzilla-29caf8e8fb9a28121fe9615d4cfcbb81342a551e.tar.gz
bugzilla-29caf8e8fb9a28121fe9615d4cfcbb81342a551e.tar.xz
Bug 780849: fix incorrect auto-linkification of full CVE urls in comments
Diffstat (limited to 'extensions')
-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 d0c392cf0..a276a110e 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -549,7 +549,7 @@ sub bug_format_comment {
});
push (@$regexes, {
- match => qr/(?<!\/)\b((?:CVE|CAN)-\d{4}-\d{4})\b/,
+ match => qr/(?<!\/|=)\b((?:CVE|CAN)-\d{4}-\d{4})\b/,
replace => \&_link_cve
});