Skip to content

Commit 0eca88b

Browse files
committed
change to fullmatch
1 parent bf62edc commit 0eca88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/tracing_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ def is_ignored_span(name: str, attributes: "Optional[Attributes]") -> bool:
14901490
def _matches(rule: "Any", value: "Any") -> bool:
14911491
if isinstance(rule, Pattern):
14921492
if isinstance(value, str):
1493-
return bool(rule.match(value))
1493+
return bool(rule.fullmatch(value))
14941494
else:
14951495
return False
14961496

0 commit comments

Comments
 (0)