Skip to content

Django integration does not respect SCRIPT_NAME #2576

@ethrgeist

Description

@ethrgeist

How do you use Sentry?

Self-hosted/on-premise

Version

self-hosted-23.11.2

Steps to Reproduce

  1. Django setup with SCRIPT_NAME=/foo/bar under domain example.net
  2. Full url https://example.net/foo/bar/
  3. Triggern an error in a view https://example.net/foo/bar/my-view/
  4. URL in Sentry UI is just https://example.net/my-view/, missing the SCRIPT_NAME

Expected Result

URL should respect SCRIPT_NAME and the link in the UI should be https://example.net/foo/bar/my-view/

Actual Result

URL in Sentry UI is just https://example.net/my-view/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Waiting for: Product Owner

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions