Skip to content

feat(aiohttp): Apply data_collection filtering to URL query strings#6833

Merged
ericapisani merged 38 commits into
masterfrom
py-2583-query-params-aiohttp
Jul 22, 2026
Merged

feat(aiohttp): Apply data_collection filtering to URL query strings#6833
ericapisani merged 38 commits into
masterfrom
py-2583-query-params-aiohttp

address CR comments within aiohttp

b6b6e1e
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: find-bugs completed Jul 22, 2026 in 0s

1 issue

find-bugs: Found 1 issue (1 medium)

Medium

Legacy client span leaks unfiltered query strings when data_collection is configured - `sentry_sdk/integrations/aiohttp.py:7`

The legacy (non-streaming) client span path stores the raw query string without applying _apply_data_collection_filtering_to_query_string, so sensitive parameters bypass the user-configured data_collection filters.


⏱ 20m 15s · 1.9M in / 65.1k out · $0.61

Annotations

Check warning on line 7 in sentry_sdk/integrations/aiohttp.py

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: find-bugs

Legacy client span leaks unfiltered query strings when data_collection is configured

The legacy (non-streaming) client span path stores the raw query string without applying `_apply_data_collection_filtering_to_query_string`, so sensitive parameters bypass the user-configured `data_collection` filters.