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

Remove inline javascript // safe http content security policy #68

Open
juju4 opened this issue Mar 5, 2017 · 0 comments
Open

Remove inline javascript // safe http content security policy #68

juju4 opened this issue Mar 5, 2017 · 0 comments

Comments

@juju4
Copy link

juju4 commented Mar 5, 2017

In current state, there is one inline script in index.html
https://github.com/Upload/Up1/blob/master/client/index.html

which force the following CSP

add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; connect-src 'self'; img-src 'self'; style-src 'self';";

it would be nice to move it to a js (separate or existing) in order to remove the unsafe-inline part.

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

No branches or pull requests

1 participant