Skip to content

Commit 5b4f96e

Browse files
author
Brent Cook
committed
remove more refs
1 parent 1b31e0a commit 5b4f96e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

tools/dev/msftidy.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ def check_ref_identifiers
178178
case identifier
179179
when 'CVE'
180180
warn("Invalid CVE format: '#{value}'") if value !~ /^\d{4}\-\d{4,}$/
181-
when 'OSVDB'
182-
warn("Invalid OSVDB format: '#{value}'") if value !~ /^\d+$/
183181
when 'BID'
184182
warn("Invalid BID format: '#{value}'") if value !~ /^\d+$/
185183
when 'MSB'
@@ -197,9 +195,7 @@ def check_ref_identifiers
197195
when 'PACKETSTORM'
198196
warn("Invalid PACKETSTORM reference") if value !~ /^\d+$/
199197
when 'URL'
200-
if value =~ /^http:\/\/www\.osvdb\.org/
201-
warn("Please use 'OSVDB' for '#{value}'")
202-
elsif value =~ /^http:\/\/cvedetails\.com\/cve/
198+
if value =~ /^http:\/\/cvedetails\.com\/cve/
203199
warn("Please use 'CVE' for '#{value}'")
204200
elsif value =~ /^http:\/\/www\.securityfocus\.com\/bid\//
205201
warn("Please use 'BID' for '#{value}'")

tools/modules/module_reference.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
def types
2525
{
2626
'ALL' => '',
27-
'OSVDB' => 'http://www.osvdb.org/#{in_ctx_val}',
2827
'CVE' => 'http://cvedetails.com/cve/#{in_ctx_val}/',
2928
'CWE' => 'http://cwe.mitre.org/data/definitions/#{in_ctx_val}.html',
3029
'BID' => 'http://www.securityfocus.com/bid/#{in_ctx_val}',

0 commit comments

Comments
 (0)