Skip to content

warp: match routes on host:port, add --route - #175

Merged
teamchong merged 1 commit into
mainfrom
warp/route-port-selection
Aug 4, 2026
Merged

warp: match routes on host:port, add --route#175
teamchong merged 1 commit into
mainfrom
warp/route-port-selection

Conversation

@teamchong

Copy link
Copy Markdown
Owner

warp matched route patterns on hostname only, so an agent pointed at another local proxy (127.0.0.1:8082) could not be warped, and the pxpipe front door could divert to itself.

Threads host:port through connect/route matching instead of stripping the port, and adds pxpipe warp --route PATTERN=TARGET for agents that talk to a non-default base URL.

Pre-existing work, split out of the code-scanning branch so the security fixes review on their own.

npx vitest run tests/warp-route.test.ts   # 4 passed
npx tsc --noEmit                          # clean

warp matched route patterns on hostname only, so an agent pointed at
another local proxy (127.0.0.1:8082) could not be warped, and the
pxpipe front door could divert to itself.

Thread host:port through connect/route matching instead of stripping
the port, and add `pxpipe warp --route PATTERN=TARGET` for agents that
talk to a non-default base URL.
@teamchong
teamchong merged commit 41a11db into main Aug 4, 2026
5 of 6 checks passed
@teamchong
teamchong deleted the warp/route-port-selection branch August 4, 2026 01:48
qbq-leo-martens pushed a commit to qbq-leo-martens/pxpipe that referenced this pull request Aug 5, 2026
…-history page breaks (teamchong#178), warp host:port routes (teamchong#175), macOS restart fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant