Closed JanStevens closed 6 months ago
Latest commit: 3d0026a644d593227c8f1e4f8b90172e917f5a80
The changes in this PR will be included in the next version bump.
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
open-next | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 5, 2024 3:30pm |
@khuezy No I just had some basic security headers present which caused the parameter matching to trip up.
Link to the relevant discord discussion: https://discord.com/channels/983865673656705025/1186265613220446218
Hi,
Current logic for matching headers does not 100% match how nextjs deals with it. For example when you have a
Content-Security-Policy
header which contains urls likehttps://google.com
then the matching will fail resulting in an Internal Server Error.This PR adds a small bandage so non matched headers are just returned as-is ensuring no Internal Server Error is triggered.
Ideally we have same logic as Nextjs