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

Lower restriction for website scripts. #2069

Merged
merged 1 commit into from
Jan 28, 2020
Merged

Lower restriction for website scripts. #2069

merged 1 commit into from
Jan 28, 2020

Conversation

bwplotka
Copy link
Member

@bwplotka bwplotka commented Jan 28, 2020

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src thanos.io". Either the 'unsafe-inline' keyword, a hash ('sha256-3qFt4qPvMCWVUpjUxP5X57GBKae6RHYZ0rMjn9WuNF4='), or a nonce ('nonce-...') is required to enable inline execution.

Fixed by not restricting by domain, just TLS.

Signed-off-by: Bartlomiej Plotka [email protected]

`Refused to execute inline script because it violates the following Content Security Policy directive: "script-src thanos.io". Either the 'unsafe-inline' keyword, a hash ('sha256-3qFt4qPvMCWVUpjUxP5X57GBKae6RHYZ0rMjn9WuNF4='), or a nonce ('nonce-...') is required to enable inline execution.`

We got kicked by our security. Mobile website is not working well...

Signed-off-by: Bartlomiej Plotka <[email protected]>
Copy link
Member

@squat squat left a comment

Choose a reason for hiding this comment

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

too bad but oki
lgtm

@bwplotka
Copy link
Member Author

I mean I could enumerate 10 different domains.. or download those scripts. Something to later on. Let's fix the website now.

@bwplotka bwplotka merged commit 72bac9e into master Jan 28, 2020
@bwplotka bwplotka deleted the web-fix branch January 28, 2020 17:11
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.

None yet

2 participants