Skip to content

Conversation

LubomirIgonda1
Copy link
Contributor

This PR fix use case when lrp keys offset is calculate to 0. I discover this case after update express from v4.19.2 to v4.21.2
For example:

api/v1/users/1/posts
Old behavior

sentry build req._reconstructedRoute as:
api/v1/users/1/posts
New behavior

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

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

Thanks @LubomirIgonda1!

@mydea mydea changed the title fix(tracing-internal): Fix case when lrp keys offset is 0 fix(v7/tracing-internal): Fix case when lrp keys offset is 0 Dec 10, 2024
@AbhiPrasad AbhiPrasad merged commit 4690bf3 into getsentry:v7 Dec 11, 2024
79 checks passed
AbhiPrasad added a commit that referenced this pull request Dec 12, 2024
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