open-next icon indicating copy to clipboard operation
open-next copied to clipboard

chore(image): add content-security-policy and content-disposition

Open sommeeeer opened this issue 6 months ago • 2 comments

Add Content-Security-Policy and Content-Disposition header to buildSuccessResponse in image optimization adapter.

It will now support images.contentSecurityPolicy and images.contentDispositionType from Next config aswell.

sommeeeer avatar Jun 23 '25 11:06 sommeeeer

🦋 Changeset detected

Latest commit: c935bda8346790dead32e794e409468a3b0431ab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@opennextjs/aws Patch
app-pages-router Patch
app-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Jun 23 '25 11:06 changeset-bot[bot]

Open in StackBlitz

pnpm add https://pkg.pr.new/@opennextjs/aws@912

commit: c935bda

pkg-pr-new[bot] avatar Jun 23 '25 11:06 pkg-pr-new[bot]