Skip to content

Commit bc3e9f0

Browse files
committed
Remove unnecessary quoting and trailing whitespace from the title.
1 parent 76a499f commit bc3e9f0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gems/sidekiq/CVE-2023-1892.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ gem: sidekiq
33
cve: 2023-1892
44
ghsa: h3r8-h5qw-4r35
55
url: https://github.com/sidekiq/sidekiq/commit/458fdf74176a9881478c48dc5cf0269107b22214
6-
title: 'sidekiq vulnerable to cross-site scripting '
6+
title: sidekiq vulnerable to cross-site scripting
77
date: 2023-04-21
88
description: |
99
sidekiq from 7.0.4 to 7.0.7 is vulnerable to reflected cross-site scripting.

spec/advisory_example.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@
117117
it "must be one line" do
118118
expect(subject).to_not include("\n")
119119
end
120+
121+
it "must not start with or end with additional whitespace" do
122+
expect(subject).to_not match(/\A\s|\s\z/)
123+
end
120124
end
121125

122126
describe "date" do

0 commit comments

Comments
 (0)