Skip to content

fix: decode params used in query object in buildLegacyCtx#19253

Merged
hbjORbj merged 3 commits intomainfrom
fix/decode-params-used-in-query-object
Feb 12, 2025
Merged

fix: decode params used in query object in buildLegacyCtx#19253
hbjORbj merged 3 commits intomainfrom
fix/decode-params-used-in-query-object

Conversation

@hbjORbj
Copy link
Copy Markdown
Contributor

@hbjORbj hbjORbj commented Feb 12, 2025

What does this PR do?

Screenshot 2025-02-12 at 2 06 34 AM

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A - I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • I added e2e tests

@graphite-app graphite-app Bot requested a review from a team February 12, 2025 07:03
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cal-com-ui-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 7:33am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 7:33am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 7:33am

@hbjORbj hbjORbj changed the title fix: decode params used in query object fix: decode params used in query object in buildLegacyCtx Feb 12, 2025
@keithwillcode keithwillcode added consumer core area: core, team members only labels Feb 12, 2025
@dosubot dosubot Bot added the 🐛 bug Something isn't working label Feb 12, 2025
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Feb 12, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (02/12/25)

1 reviewer was added to this PR based on Keith Williams's automation.

anikdhabal
anikdhabal previously approved these changes Feb 12, 2025
@hbjORbj hbjORbj enabled auto-merge (squash) February 12, 2025 07:22
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 12, 2025

E2E results are ready!

) => {
return {
query: { ...searchParams, ...params },
query: { ...searchParams, ...decodeParams(params) },
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we actually don't allow special characters in username

Copy link
Copy Markdown
Contributor

@anikdhabal anikdhabal Feb 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we want this or not, but currently it's possible to save special characters in a username. I just changed a user's username from franz-janssen to franz-janßen on prod

@hbjORbj hbjORbj merged commit 4fbeff3 into main Feb 12, 2025
@hbjORbj hbjORbj deleted the fix/decode-params-used-in-query-object branch February 12, 2025 07:58
MuhammadAimanSulaiman pushed a commit to hit-pay/cal.com that referenced this pull request Feb 25, 2025
* fix: decode params used in query object in buildLegacyCtx

* add tests

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working consumer core area: core, team members only ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants