Skip to content

Commit

Permalink
Merge branch 'main' into support-http-etags-and-if-none-match-header
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Feb 27, 2025
2 parents 9a24369 + ba43896 commit 4f5f0fa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public void Deregister(string address)

public async Task EnqueueFor(string address, string eventName, CancellationToken cancellationToken)
{
_logger.LogDebug("Enqueueing event '{EventName}'", eventName);
var sanitizedEventName = eventName.Replace(Environment.NewLine, "").Replace("\n", "").Replace("\r", "");
_logger.LogDebug("Enqueueing event '{EventName}'", sanitizedEventName);

if (!_channels.TryGetValue(address, out var channel))
throw new ClientNotFoundException();
Expand Down

0 comments on commit 4f5f0fa

Please sign in to comment.