Skip to content

Commit

Permalink
fix: limit length to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
tnotheis committed Mar 4, 2025
1 parent 2d956c3 commit f3c13fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public async Task InvokeAsync(HttpContext context)
}
else
{
correlationId = correlationId.Trim().ReplaceLineEndings("");
correlationId = correlationId.Trim().ReplaceLineEndings("")[..100];
}

context.Response.Headers["X-Correlation-ID"] = correlationId;
Expand Down

0 comments on commit f3c13fa

Please sign in to comment.