getsentry / getsentry/sentry-dotnet
DataCollection phase 2: migrate redact cascade and HTTP failed-request handler
Open
Nobody has claimed this yet.
.NET
Feature
- Dominant language
- C#
- Stars
- 770
- Forks
- 250
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 51
Description
Part of #5420. Phase 2 — behavior-neutral consumer migration.
Migrate the redaction cascade and the HTTP failed-request handler to the resolved config:
src/Sentry/SentryClient.cs:234-237/:431-434—.Redact()cascade currently triggered bySendDefaultPii == false(events, transactions, spans, breadcrumbs → URL userinfo redaction viaPiiExtensions.RedactUrl).src/Sentry/SentryHttpFailedRequestHandler.cs:81-92— URL (path-only vsAbsoluteUri), request/response cookies and headers → gate onUrlQueryParams,Cookies,HttpHeaders.Request/Responsebehaviors with the shared filter utility.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the referenced sections in src/Sentry/SentryClient.cs and src/Sentry/SentryHttpFailedRequestHandler.cs, then inspect the resolved configuration and shared filter utility from parent issue #5420. Verify the redaction cascade and failed-request URL, cookie, and header handling use the specified behaviors without changing behavior, and run the relevant .NET test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend, security
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100