Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tracing-internal): Fix trailing slash with query paras in url #9328

Merged
merged 1 commit into from
Oct 23, 2023
Merged

fix(tracing-internal): Fix trailing slash with query paras in url #9328

merged 1 commit into from
Oct 23, 2023

Conversation

LubomirIgonda1
Copy link
Contributor

This PR fix use case when original req url ends with trailing slash and contain query params.
For example:

api/v1/users/123/posts/?param=1

Old behavior

sentry build req._reconstructedRoute as:
api/v1/users/123/posts

New behavior

sentry build req._reconstructedRoute as:
api/v1/users/:userID/posts

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@Lms24 Lms24 merged commit a6c44af into getsentry:develop Oct 23, 2023
70 checks passed
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.

2 participants