diff options
author | Reed Loden <reed@reedloden.com> | 2015-01-06 23:10:09 +0100 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2015-01-06 23:10:46 +0100 |
commit | ce356db60ac26cefd208f6a7474c337c00237f27 (patch) | |
tree | 764aac31e92b6277021c91769067186d696da520 /extensions/BMO/t | |
parent | 7bbb2425c7d3da7dc58e1bde64aed3e61fe79b5b (diff) | |
download | bugzilla-ce356db60ac26cefd208f6a7474c337c00237f27.tar.gz bugzilla-ce356db60ac26cefd208f6a7474c337c00237f27.tar.xz |
Bug 1118401 - Use https:// for linkification of CVEs and VCS-related output
r=dkl
Diffstat (limited to 'extensions/BMO/t')
-rw-r--r-- | extensions/BMO/t/bug_format_comment.t | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/extensions/BMO/t/bug_format_comment.t b/extensions/BMO/t/bug_format_comment.t index 0356684e9..532b8fb8d 100644 --- a/extensions/BMO/t/bug_format_comment.t +++ b/extensions/BMO/t/bug_format_comment.t @@ -26,6 +26,9 @@ bp-deadbeef-deaf-beef-beed-cafefeed1337 # CVE/CAN security things CVE-2014-0160 +CVE-2014-0001 +CVE-2014-13579 +CVE-2014-999999999 # svn r2424 @@ -68,12 +71,15 @@ foreach my $re (@regexes) { my @links = ( '<a href="https://crash-stats.mozilla.com/report/index/deadbeef-deaf-beef-beed-cafefeed1337">bp-deadbeef-deaf-beef-beed-cafefeed1337</a>', - '<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0160">CVE-2014-0160</a>', - '<a href="http://viewvc.svn.mozilla.org/vc?view=rev&revision=2424">r2424</a>', - '<a href="http://git.mozilla.org/?p=bugzilla/bugzilla.git;a=commit;h=eab44b1">36f56bd..eab44b1 withuri -> withuri</a>', - '<a href="http://git.mozilla.org/?p=bugzilla/bugzilla.git;a=commit;h=eab44b1">36f56bd..eab44b1 nouri -> nouri</a>', - '<a href="http://git.mozilla.org/?p=bugzilla/bugzilla.git;a=commit;h=eab44b1">36f56bd..eab44b1 nologin -> nologin</a>', - 'http://bzr.mozilla.org/bmo/4.2/revision/9257', + '<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0160">CVE-2014-0160</a>', + '<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0001">CVE-2014-0001</a>', + '<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-13579">CVE-2014-13579</a>', + '<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-999999999">CVE-2014-999999999</a>', + '<a href="https://viewvc.svn.mozilla.org/vc?view=rev&revision=2424">r2424</a>', + '<a href="https://git.mozilla.org/?p=bugzilla/bugzilla.git;a=commitdiff;h=eab44b1">36f56bd..eab44b1 withuri -> withuri</a>', + '<a href="https://git.mozilla.org/?p=bugzilla/bugzilla.git;a=commitdiff;h=eab44b1">36f56bd..eab44b1 nouri -> nouri</a>', + '<a href="https://git.mozilla.org/?p=bugzilla/bugzilla.git;a=commitdiff;h=eab44b1">36f56bd..eab44b1 nologin -> nologin</a>', + 'https://bzr.mozilla.org/bmo/4.2/revision/9257', ); foreach my $link (@links) { |