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(v7/tracing-internal): Fix case when lrp keys offset is 0 #14615

Merged
merged 2 commits into from
Dec 11, 2024

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