Stop www.icemap.app redirecting to https://icemap.app:8080/ - #10
Merged
Merged
Conversation
The middleware cloned request.nextUrl and set .host, which keeps the port the standalone server listens on. Build the Location from the public host (x-forwarded-host, then Host) with the port dropped instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan3 finding(s) HIGH/CRITICAL: 1 | LOW: 2
Snippets are redacted; ThreatCrush never prints matched credential material. |
fast-xml-parser 5.2.5 (via @aws-sdk/xml-builder, GHSA-m7jm-9gc2-mpf2) is overridden to ^5.3.5 and vitest moves to ^3.2.6 (GHSA-5xrq-8626-4rwp). Both landed after master's last green audit and were failing this PR's CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
The override moves fast-xml-parser past 5.3.5, so the hot patch has no target and socket-patch apply (postinstall) exits 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://www.icemap.app/ answered 301 to https://icemap.app:8080/. The middleware cloned nextUrl and only replaced .host, so the internal port survived. The redirect is now built from x-forwarded-host/Host with the port stripped (apps/web/src/lib/www-redirect.ts, with tests).
🤖 Generated with Claude Code