-
Notifications
You must be signed in to change notification settings - Fork 25
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
Include Content-Security-Policy as meta tag, assert against violations in tests and remove deprecated referrer policy #156
Commits on Feb 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 2865936 - Browse repository at this point
Copy the full SHA 2865936View commit details -
Configuration menu - View commit details
-
Copy full SHA for 322b4df - Browse repository at this point
Copy the full SHA 322b4dfView commit details -
X-Content-Security-Policy and X-Webkit-CSP are not needed anymore
All major browsers support standard by now. Only IE11 has limited support for X-Content-Security-Policy. But that support is limited to sandbox directive, which isn't used by Croodle.
Configuration menu - View commit details
-
Copy full SHA for fb4b2b2 - Browse repository at this point
Copy the full SHA fb4b2b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for be01564 - Browse repository at this point
Copy the full SHA be01564View commit details -
provide Content-Security-Policy by meta tag
Having both a Content-Security-Policy (CSP) in meta tag and per header works fine together. They are merged and the strongest one is applied. It makes Croodle safer for all users even if the hoster does not apply CSP for some reason (e.g. they can't set custom headers). It's still a good idea to recommend using a CSP header cause that ones are applied earlier - even so this shouldn't be a problem cause we ensure that CSP meta tag is present before any other link, style or script element.
Configuration menu - View commit details
-
Copy full SHA for b0b62fe - Browse repository at this point
Copy the full SHA b0b62feView commit details -
Configuration menu - View commit details
-
Copy full SHA for d326b0e - Browse repository at this point
Copy the full SHA d326b0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbf10cb - Browse repository at this point
Copy the full SHA bbf10cbView commit details -
upgrade ember-cli-content-security-policy to fix CSP violation by tes…
…t loader assertion
Configuration menu - View commit details
-
Copy full SHA for 1df5d14 - Browse repository at this point
Copy the full SHA 1df5d14View commit details -
upgrade qunit to fix CSP violations in test runner
This one requires a migration from deprecated ember-cli-qunit to ember-qunit. ember-qunit throws in Unit tests cause they interact with runloop but didn't awaited everything to finish. An assertion was thrown therefor: > Assertion Failed: expected container not to be destroyed
Configuration menu - View commit details
-
Copy full SHA for 6b53d58 - Browse repository at this point
Copy the full SHA 6b53d58View commit details