Fix/neon db connectivity - #80
Merged
Merged
Conversation
Force shell: false in spawnCmd to prevent shell injection via unsanitized arguments passed to spawned child processes.
- openBrowser: reject URLs not starting with http:// or https:// - openBrowser: fix Windows cmd /c start to pass empty title arg - sanitizeUrlPath: decode URI-encoded paths before validation - sanitizeUrlPath: block backslash characters in paths - sanitizeUrlPath: collapse consecutive slashes
When token lengths differ, perform a constant-time comparison on equal-length dummy buffers before returning false, preventing a timing side-channel that could leak length information.
- Extract duplicated HTTP proxy logic into createOpencodeProxy() - Switch proxy body handling from buffer-then-forward to streaming - Use async execFile for cloudflared tunnel creation - Harden sanitizeUrlPath with decodeURIComponent and backslash blocking
- Replace execFileSync with async execFile wrapper in port detection - Convert getListeningPorts to async for non-blocking port scanning - Remove verbose keypress debug logging - Remove unused deriveProjectId export from tunnel-client
- Remove channel_binding=require from DATABASE_URL (unsupported by Neon pooler) - Increase connect_timeout from 10s to 30s for Neon cold starts - Apply same connect_timeout fix to tunnel-server Co-authored-by: muse-spark-1.2 <muse-spark@users.noreply.github.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.
No description provided.