Skip to content

Always use HTTPS for CDN files#498

Merged
jkimbo merged 2 commits intographql-python:masterfrom
adamchainz:patch-1
Mar 19, 2019
Merged

Always use HTTPS for CDN files#498
jkimbo merged 2 commits intographql-python:masterfrom
adamchainz:patch-1

Conversation

@adamchainz
Copy link
Copy Markdown
Contributor

There's no point using insecure, deprecated HTTP even if the current page is on HTTP.

There's no point using insecure, deprecated HTTP even if the current page is on HTTP.
@coveralls
Copy link
Copy Markdown

coveralls commented Aug 17, 2018

Coverage Status

Coverage decreased (-0.01%) to 94.652% when pulling d1aecab on adamchainz:patch-1 into 9351626 on graphql-python:master.

@Amoki
Copy link
Copy Markdown

Amoki commented Aug 28, 2018

What about going one step further and adding the SHA hash of these js ?

@adamchainz
Copy link
Copy Markdown
Contributor Author

Forgot that's a thing now. I don't have the time to do it here. But it's not possible for two files as they are templated by version with {{graphiql_version}}

@patrick91 patrick91 requested a review from jkimbo August 29, 2018 10:15
Copy link
Copy Markdown
Member

@jkimbo jkimbo left a comment

Choose a reason for hiding this comment

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

Makes sense 👍

@danpalmer
Copy link
Copy Markdown
Collaborator

@adamchainz I reckon it's worth doing for the other files, as it reduces the potential attack surface area.

@adamchainz
Copy link
Copy Markdown
Contributor Author

@danpalmer you're right

@jkimbo jkimbo merged commit ea2cd98 into graphql-python:master Mar 19, 2019
@adamchainz
Copy link
Copy Markdown
Contributor Author

Thanks!

@adamchainz adamchainz deleted the patch-1 branch March 19, 2019 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants