Skip to content
Prev Previous commit
Next Next commit
Fix tests (sources are no longer minified since #499)
  • Loading branch information
fletchto99 authored and denn-os committed Dec 17, 2025
commit 7f19fb27a9c437e75976f40fab2ad0bf6c81f793
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module SecureHeaders
default_src: %w(a.example.org b.example.org *.example.org https://*.example.org c.example.org/)
}
csp = ContentSecurityPolicy.new(config)
expect(csp.value).to eq("default-src a.example.org b.example.org *.example.org")
expect(csp.value).to eq("default-src a.example.org b.example.org *.example.org c.example.org")
end

it "removes http/s schemes from hosts" do
Expand Down