Ryan Lane has submitted this change and it was merged.

Change subject: Add CVE linker
......................................................................


Add CVE linker

Change-Id: I3030ef307c2cb6102f95579bb537699aa27c4905
---
M templates/gerrit/gerrit.config.erb
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Ryan Lane: Looks good to me, approved
  Demon: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/templates/gerrit/gerrit.config.erb 
b/templates/gerrit/gerrit.config.erb
index 23876a3..59700c9 100644
--- a/templates/gerrit/gerrit.config.erb
+++ b/templates/gerrit/gerrit.config.erb
@@ -67,6 +67,9 @@
 [commentlink "rt"]
        match = "\\b[rR][tT]\\s+#?(\\d+)\\b"
        link = https://rt.wikimedia.org/Ticket/Display.html?id=$1
+[commentlink "cve"]
+       match = "\\b(CVE\-\\d{4}-\\d+)\\b"
+       link = https://cve.mitre.org/cgi-bin/cvename.cgi?name=$1
 [mimetype "application/javascript"]
        safe = true
 [mimetype "application/x-php"]

-- 
To view, visit https://gerrit.wikimedia.org/r/52253
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3030ef307c2cb6102f95579bb537699aa27c4905
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: CSteipp <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Ryan Lane <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to