Skip to content

Commit

Permalink
Update packages/node/src/integrations/http/SentryHttpInstrumentation.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Forstner <luca.forstner@sentry.io>
  • Loading branch information
mydea and lforst committed Nov 13, 2024
1 parent 3e27265 commit 28e6dfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ function extractQueryParams(req: IncomingMessage): string | undefined {
}

function headersToDict(reqHeaders: Record<string, string | string[] | undefined>): Record<string, string> {
const headers: Record<string, string> = {};
const headers: Record<string, string> = Object.create(null);

try {
Object.entries(reqHeaders).forEach(([key, value]) => {
Expand Down

0 comments on commit 28e6dfe

Please sign in to comment.