Skip to content

Commit fc71c9e

Browse files
authored
Added lint check to not support http://osvdb.org in main url:` field (#639)
1 parent f352dbf commit fc71c9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/advisory_example.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
subject { advisory['url'] }
9595

9696
it { expect(subject).to be_kind_of(String) }
97+
it { expect(subject).to_not match(%r{\Ahttp(s)?://osvdb\.org}) }
9798
it { expect(subject).not_to be_empty }
9899
end
99100

0 commit comments

Comments
 (0)