Repository navigation
fix(AUTO-288): preserve raw profile paths during token shimming - #5547
Conversation
Walkthrough
ChangesToken shimming
Estimated code review effort: 3 (Moderate) | ~15–30 minutes Merge Risk: 🔵 Low · up to The change preserves request paths while removing authentication query parameters, but empty Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
Watcher complete at |
🤖 I have created a release *beep* *boop* --- ## [2.56.1](v2.56.0...v2.56.1) (2026-09-01) ### Bug Fixes * **AUTO-288:** preserve raw profile paths during token shimming ([#5547](#5547)) ([2222d9f](2222d9f)) * close function pages when user code fails ([#5554](#5554)) ([a36bb85](a36bb85)) ### Build System & Runtime * bump Node to 24.20.0 and npm to 11.19.1 ([#5553](#5553)) ([f1e5077](f1e5077)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: browserless-actions-bot[bot] <186328842+browserless-actions-bot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Summary
tokenquery parameter without reconstructing the whole request URL, preserving raw encoded pathname bytes for request hooks%2E/%2E%2Eprofile segmentsAUTO-288)Assumptions made
moveTokenToHeaderand before the general parsed-URL routing step, so a consumer can capture an encoded pathname before WHATWG normalizationVerification
npm test -- --grep 'Request Shimming'— 29 passing at the refreshed exact head, including TypeScript compilationnpm run build— passed for the product commit before the metadata-only current-main release merge.and..profile names with Browserless commitfcc20e9e6051ef8c579ee753f30a272d9d016b86Dependency and merge order
@browserless.io/browserlessversion.Linear: AUTO-288
Summary by CodeRabbit
Authorizationheader.