Draft
Conversation
Co-authored-by: fletchto99 <718681+fletchto99@users.noreply.github.com>
...r/bundle/ruby/3.2.0/gems/rubocop-1.82.0/lib/rubocop/cop/layout/space_inside_range_literal.rb
Fixed
Show fixed
Hide fixed
vendor/bundle/ruby/3.2.0/gems/parser-3.3.10.0/lib/parser/source/buffer.rb
Fixed
Show fixed
Hide fixed
vendor/bundle/ruby/3.2.0/gems/notiffany-0.1.3/lib/notiffany/notifier/emacs.rb
Fixed
Show fixed
Hide fixed
vendor/bundle/ruby/3.2.0/gems/benchmark-ips-2.14.0/lib/benchmark/ips/job.rb
Fixed
Show fixed
Hide fixed
vendor/bundle/ruby/3.2.0/gems/benchmark-ips-2.14.0/lib/benchmark/ips/job.rb
Fixed
Show fixed
Hide fixed
vendor/bundle/ruby/3.2.0/gems/activesupport-8.1.1/lib/active_support/file_update_checker.rb
Fixed
Show fixed
Hide fixed
vendor/bundle/ruby/3.2.0/gems/activesupport-8.1.1/lib/active_support/encrypted_file.rb
Fixed
Show fixed
Hide fixed
vendor/bundle/ruby/3.2.0/gems/ffi-1.17.2-x86_64-linux-gnu/lib/ffi/tools/types_generator.rb
Fixed
Show fixed
Hide fixed
Co-authored-by: fletchto99 <718681+fletchto99@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix validation for empty plugin-types directive
Remove deprecated plugin-types CSP directive
Dec 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
plugin-typesdirective was removed from the CSP specification and browser support was dropped years ago. This removes it from secure_headers.Changes:
PLUGIN_TYPESconstant and directive fromDIRECTIVES_2_0:media_type_listvalidation type andvalidate_media_type_expression!methodplugin_typesfrom README configuration exampleMigration:
Configurations using
plugin_typeswill now raiseContentSecurityPolicyConfigErrorfor unknown directive. Remove the directive from your CSP configuration:Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
coveralls.io/usr/bin/ruby3.2 ruby3.2 /home/REDACTED/work/secure_headers/secure_headers/vendor/bundle/ruby/3.2.0/bin/rspec spec/lib/secure_headers/headers/policy_management_spec.rb /tmp/cc7d9JqQ.s conf�� by-3.2.0 --global ism-1.6.0/include user.email ism-1.6.0/ext(dns block)/usr/bin/ruby3.2 ruby3.2 /home/REDACTED/work/secure_headers/secure_headers/vendor/bundle/ruby/3.2.0/bin/rspec token_type.o /tmp/ccdmjqra.s vend�� in.so /lto-wrapper /home/REDACTED/.ca-I kward(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.