-
Notifications
You must be signed in to change notification settings - Fork 28k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: vercel/next.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v15.2.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: vercel/next.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v15.2.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 32 files changed
- 3 contributors
Commits on Mar 24, 2025
-
switch development origin verification to be opt-in rather than opt-o…
…ut (#77395) To avoid breaking local development proxies and more complex setups, this ensures that we only block cross-origin development requests when opting into the configuration. In a future major release, this will not be opt-in, and will require explicitly providing the allowed origins that can access the special `/_next` endpoints. This adds a warning when a cross origin request is detected that would be blocked without explicit configuration. Fixes #77073 Fixes #77253 Fixes #77344
Configuration menu - View commit details
-
Copy full SHA for f847302 - Browse repository at this point
Copy the full SHA f847302View commit details -
remove direct ip/port bypass in dev origin check (#77414)
It's potentially unsafe to allow any sort of origin bypass if `allowedDevOrigins` is configured as it's trivial to stand up a remote server on the same port. This removes the case that would bypass the origin check.
Configuration menu - View commit details
-
Copy full SHA for cfeaa86 - Browse repository at this point
Copy the full SHA cfeaa86View commit details -
ensure /__next middleware URLs are included in the origin check (#77416)
We have special development endpoints that are also prefixed under `/__nextjs`. This updates the origin checking logic to account for those in addition to `/_next`, and adds a test.
Configuration menu - View commit details
-
Copy full SHA for d9bcb83 - Browse repository at this point
Copy the full SHA d9bcb83View commit details -
exclude images and static media from dev origin check (#77417)
Excludes `/_next/image` and `/_next/static/media` as they don't contain sensitive information and prevents complications loading them in cases where they are inlined in CSS, as they'll be requested with `sec-fetch-mode: no-cors`. x-ref: #77344
Configuration menu - View commit details
-
Copy full SHA for 25f810b - Browse repository at this point
Copy the full SHA 25f810bView commit details -
Match subrequest handling for edge and node (#77474)
This aligns our subrequest handling between edge and node runtimes as we did not carry over this handling for node and as such we want to remove this from edge as well.
Configuration menu - View commit details
-
Copy full SHA for ecb72ee - Browse repository at this point
Copy the full SHA ecb72eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 804aa35 - Browse repository at this point
Copy the full SHA 804aa35View commit details
There are no files selected for viewing