Skip to content

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

Description

@juju4

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions