feat: filter embed query params from booking success redirects#22028
feat: filter embed query params from booking success redirects#22028hariombalhara merged 7 commits intomainfrom
Conversation
- Add filterEmbedParams option to getNewSearchParams function - Filter out embed, layout, embedType, and ui.color-scheme params when redirecting to external pages - Add comprehensive unit tests for bookingSuccessRedirect covering: - External redirects with and without parameter forwarding - Embed parameter filtering functionality - Internal redirects to booking pages - Booking parameter extraction - All tests pass and type checking succeeds Fixes #20469 Co-Authored-By: hariom@cal.com <hariom@cal.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
|
✅ No security or compliance issues detected. Reviewed everything up to 849788e. Security Overview
Detected Code ChangesThe diff is too large to display a summary of code changes. Reply to this PR with |
Co-Authored-By: hariom@cal.com <hariom@cal.com>
Co-Authored-By: hariom@cal.com <hariom@cal.com>
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (06/25/25)1 reviewer was added to this PR based on Keith Williams's automation. |
E2E results are ready! |
|
Closing due to inactivity for more than 7 days. Configure here. |
|
This PR is being marked as stale due to inactivity. |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…ilter-embed-params-1750841678
…m#22028) * feat: filter embed query params from booking success redirects - Add filterEmbedParams option to getNewSearchParams function - Filter out embed, layout, embedType, and ui.color-scheme params when redirecting to external pages - Add comprehensive unit tests for bookingSuccessRedirect covering: - External redirects with and without parameter forwarding - Embed parameter filtering functionality - Internal redirects to booking pages - Booking parameter extraction - All tests pass and type checking succeeds Fixes calcom#20469 Co-Authored-By: hariom@cal.com <hariom@cal.com> * chore: retrigger CI checks Co-Authored-By: hariom@cal.com <hariom@cal.com> * chore: remove temporary CI retrigger file Co-Authored-By: hariom@cal.com <hariom@cal.com> * Handle a case --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: hariom@cal.com <hariom@cal.com> Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Filter embed query params from booking success redirects
Summary
This PR implements a fix to prevent embed query parameters from being forwarded when redirecting to external pages after successful bookings, as requested in issue #20469.
Link to Devin run
https://app.devin.ai/sessions/60b85483561d4cebb3490659ced24662
Requested by: hariom@cal.com
Fixes #20469