-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:strapiSource is core/strapi packageSource is core/strapi packagesource: core:uploadSource is core/upload packageSource is core/upload packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Description
Bug report
Describe the bug
[v4]Content Security Policy issue of plugin-upload in strapi-4.0.0-beta.13
Steps to reproduce the behavior
-
Install and change the upload provider to aws-s3
-
Upload an image and get the issue
Expected behavior
Should be able to see the picture. The same setting runs correctly in v3.
Screenshots
Code snippets
// ./config/plugins.js
module.exports = ({ env }) => ({
upload: {
config: {
provider: "aws-s3",
providerOptions: {
accessKeyId: env("AWS_ACCESS_KEY_ID"),
secretAccessKey: env("AWS_ACCESS_SECRET"),
region: env("AWS_REGION"),
params: {
Bucket: env("AWS_BUCKET"),
},
},
},
},
});System
- Node.js version: v14.17.6
- YARN version: 1.22.17
- Strapi version: 4.0.0-beta.13
- Database: PostgreSQL 13
- Operating system: macOS 10.15
Additional context
null
Metadata
Metadata
Assignees
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:strapiSource is core/strapi packageSource is core/strapi packagesource: core:uploadSource is core/upload packageSource is core/upload packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
