Skip to content

feat(node): Sanitize URLs in Span descriptions and breadcrumbs #7667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 30, 2023
Prev Previous commit
Next Next commit
Update packages/node/src/integrations/utils/http.ts
  • Loading branch information
Lms24 authored Mar 29, 2023
commit 63a7decd93e39c6006249cdbda74edc018938b78
3 changes: 0 additions & 3 deletions packages/node/src/integrations/utils/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ export function isSentryRequest(url: string): boolean {
return dsn ? url.includes(dsn.host) : false;
}

/**
* @deprecated Please use extractUrl instead. Only exists for backwards compatability as we sanitize spans and breadcrumbs.
*/
export function extractRawUrl(requestOptions: RequestOptions): string {
const protocol = requestOptions.protocol || '';
const hostname = requestOptions.hostname || requestOptions.host || '';
Expand Down