Skip to content

Commit

Permalink
Remove unnecessary quoting and trailing whitespace from the title.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Apr 27, 2024
1 parent 76a499f commit bc3e9f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gems/sidekiq/CVE-2023-1892.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ gem: sidekiq
cve: 2023-1892
ghsa: h3r8-h5qw-4r35
url: https://github.com/sidekiq/sidekiq/commit/458fdf74176a9881478c48dc5cf0269107b22214
title: 'sidekiq vulnerable to cross-site scripting '
title: sidekiq vulnerable to cross-site scripting
date: 2023-04-21
description: |
sidekiq from 7.0.4 to 7.0.7 is vulnerable to reflected cross-site scripting.
Expand Down
4 changes: 4 additions & 0 deletions spec/advisory_example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@
it "must be one line" do
expect(subject).to_not include("\n")
end

it "must not start with or end with additional whitespace" do
expect(subject).to_not match(/\A\s|\s\z/)
end
end

describe "date" do
Expand Down

0 comments on commit bc3e9f0

Please sign in to comment.