Skip to content

GuzzleTracingMiddleware: Sanitise span description #1429

@cleptric

Description

@cleptric

Problem Statement

$spanContext->setDescription($request->getMethod() . ' ' . $request->getUri());

This might contain sensitive data or Pii that should be removed.

Solution Brainstorm

Sanitise all GET parameters and remove HTTP basic credentials if present in the URI.

See getsentry/develop#773

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions