Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple $csp rules do not work #1073

Closed
ameshkov opened this issue Aug 2, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@ameshkov
Copy link
Member

@ameshkov ameshkov commented Aug 2, 2019

See the test here:
http://csp-tests.surge.sh/Filters/csp-rules/test-csp-rules.html

Steps to reproduce

  1. Add these rules to the user filter:
    ||example.org$csp=img-src https:
    ||example.org$csp=img-src example.org
    
  2. Open example.org

Expected result

Two CSP headers in the response

Actual result:

Just one

@ameshkov ameshkov added this to the v1.4 milestone Aug 2, 2019
@sxgunchenko

This comment has been minimized.

Copy link

@sxgunchenko sxgunchenko commented Aug 5, 2019

core/pull-requests/1429

@zzebrum zzebrum closed this Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.