Skip to content

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
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