Skip to content

Django Integration complex url regex pattern cleanup #1527

Closed as not planned
Closed as not planned
@PeterW-LWL

Description

@PeterW-LWL

Problem Statement

When using pythons sentry_sdk with Django and DjangoCMS using the default configuration for the DjangoIntegration I get a transactions {slug},w/]+)/.
This comes from the complex regex '^(?P<slug>[$\\-_.+!*(),\\w//]+)/$' which comes from DjangoCMS urls.py constants.py.

I expect even a complex regex like the above to get cleaned to just /{slug}/

Solution Brainstorm

Improve the regex filter in


Maybe even add a spezial case for this complex regex from DjangoCMS.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions