-
Notifications
You must be signed in to change notification settings - Fork 153
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
Conversation
@@ -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 }}" /> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
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.