Skip to content

Missing the hash section of URLs in frontend issues #18059

@InterstellarStella

Description

@InterstellarStella

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/vue

SDK Version

10.22.0

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

Sentry.init({
   app,
   dsn: 'DSN_HERE',
   debug: true,
});

Steps to Reproduce

Have an app that uses URL hashes and manually send any event to Sentry.

Expected Result

The URL field includes the hash part of the URL, ie. https://mydomain.com/#/page/123.

Actual Result

The URL field does not include the hash part of the URL, and instead shows https://mydomain.com/ in the url tag of the event. Example event is given in the internal Linear ticket.

Additional Context

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions