X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Debbugs%2FCGI%2FBugreport.pm;h=f0a40d6a93c7073ab7979af4947a62788091396a;hb=ebc68050faa07f08c26110d0f8de15c79fa522b8;hp=67ed7ba9c6ba04a1b2a6703168f3982e98b5d552;hpb=f08500f4ecadfeea4ee12dd1d23093c5b37168d7;p=debbugs.git diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index 67ed7ba..f0a40d6 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -283,7 +283,7 @@ sub display_entity { length $config{cve_tracker} ) { # Add links to CVE vulnerabilities (closes #568464) - $body =~ s{(^|\s)(CVE-\d{4}-\d{4,})(\s|[,.-\[\]]|$)} + $body =~ s{(^|\s|[\(\[])(CVE-\d{4}-\d{4,})(\s|[,.-\[\]\)]|$)} {$1$2$3}gxm; } if (not exists $param{att}) {