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

Set the default CSP directive to self (properly quoted this time) #2205

Merged
merged 7 commits into from
Nov 22, 2018

Conversation

cadecairos
Copy link

@cadecairos cadecairos commented Nov 15, 2018

Fixes #2168

I've modified the default CSP directive, and I've added a cononical link tag to product pages. This should stop the logging from the browser about "self" and from talk about the missing tag.

@cadecairos cadecairos requested a review from alanmoo November 15, 2018 21:39
@cadecairos cadecairos temporarily deployed to foundation-mofostaging-pr-2205 November 15, 2018 21:39 Inactive
@cadecairos cadecairos temporarily deployed to foundation-mofostaging-pr-2205 November 15, 2018 21:47 Inactive
@cadecairos cadecairos requested a review from Pomax November 15, 2018 21:48
@Pomax Pomax temporarily deployed to foundation-mofostaging-pr-2205 November 15, 2018 22:04 Inactive
@@ -7,6 +7,7 @@

{% block og-title %}
<meta property="og:title" content="privacy not included - {{ product.name }}" />
<link rel="canonical" href="{{ request.scheme }}://{{ request.get_host }}{{ request.get_full_path }}" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this require canonical links for the homepage, too?

Copy link
Author

Choose a reason for hiding this comment

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

I added this here because it's something Talk asks for specifically, and it's only on product pages.

Copy link
Author

Choose a reason for hiding this comment

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

The block name doesn't quite make sense. I'm going to update that

@cadecairos cadecairos temporarily deployed to foundation-mofostaging-pr-2205 November 16, 2018 17:15 Inactive
@cadecairos cadecairos temporarily deployed to foundation-mofostaging-pr-2205 November 19, 2018 18:40 Inactive
@alanmoo alanmoo temporarily deployed to foundation-mofostaging-pr-2205 November 20, 2018 22:30 Inactive
@cadecairos
Copy link
Author

@alanmoo / @Pomax can I get a review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants