8000 Use path_info instead of path (#1029) · SingleTM/sentry-python@37105d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37105d9

Browse files
authored
Use path_info instead of path (getsentry#1029)
1 parent f2a3ad1 commit 37105d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/django/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def _before_get_response(request):
330330
resolve(request.path).func
331331
)
332332
elif integration.transaction_style == "url":
333-
scope.transaction = LEGACY_RESOLVER.resolve(request.path)
333+
scope.transaction = LEGACY_RESOLVER.resolve(request.path_info)
334334
except Exception:
335335
pass
336336

0 commit comments

Comments
 (0)
0