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

Improper encoding of URL in GitHub stacktrace links #82802

Open
potb opened this issue Jan 2, 2025 · 2 comments
Open

Improper encoding of URL in GitHub stacktrace links #82802

potb opened this issue Jan 2, 2025 · 2 comments
Assignees

Comments

@potb
Copy link

potb commented Jan 2, 2025

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Have a configured Sentry project for a NextJS 15 app, with source maps and GitHub integration
  2. Have a NextJS project with a dynamic api route
  3. Throw an error inside it
  4. Go to the associated issue
  5. Click on the stacktrace link going to the GitHub file

Expected Result

properly encoded URL

https://github.com/potb/project/blob/123abc/src/app/%param%5D/route.ts#L123

Actual Result

raw URL

https://github.com/potb/project/blob/123abc/src/app/[param]/route.ts#L123

Product Area

Issues - Source Maps

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Jan 2, 2025

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

@scttcper
Copy link
Member

scttcper commented Jan 2, 2025

@potb i'll take a look, thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants