Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Fix CSP #4250

Merged
merged 5 commits into from
Dec 22, 2016
Merged

Fix CSP #4250

merged 5 commits into from
Dec 22, 2016

Conversation

chadwhitacre
Copy link
Contributor

We weren't careful enough in #4244 / #4247 and broke the site:

screen shot 2016-12-22 at 10 58 34 am

cc: @EdOverflow

@EdOverflow
Copy link
Contributor

Whoops, I'll get straight on to that!

@chadwhitacre
Copy link
Contributor Author

@EdOverflow Look into inline scripts, ya?

@chadwhitacre
Copy link
Contributor Author

I fixed the font errors in 961ce59.

@EdOverflow
Copy link
Contributor

Look into inline scripts, ya?

👍

@chadwhitacre
Copy link
Contributor Author

I am rolling back in Heroku for now ...

@EdOverflow
Copy link
Contributor

Sorry about that. :(

@clone1018
Copy link
Contributor

@EdOverflow Don't worry about it, that's the magic of Open Source!

@@ -51,6 +51,7 @@ def add_headers_to_response(response):
'style-src assets.gratipay.com cloud.typography.com;'
'img-src *;'
'font-src assets.gratipay.com cloud.typography.com;'
"script-src 'unsafe-inline'"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're missing a semicolon at the end here, ya? Addressed in 75ce62f.

@chadwhitacre
Copy link
Contributor Author

@EdOverflow You good with 75ce62f?

@EdOverflow
Copy link
Contributor

OK, now it should work. Thanks @whit537! :)

@chadwhitacre
Copy link
Contributor Author

@EdOverflow May I let you hit the big green "Merge pull request" button here on GitHub? :-)

@EdOverflow EdOverflow merged commit cce940b into master Dec 22, 2016
@EdOverflow
Copy link
Contributor

@chadwhitacre chadwhitacre deleted the fix-csp branch December 22, 2016 17:21
@chadwhitacre chadwhitacre mentioned this pull request Dec 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants