Skip to content

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

@juju4

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions