summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlek5andr-Kotov <[email protected]>2025-10-24 18:06:56 +0300
committerGitHub <[email protected]>2025-10-24 15:06:56 +0000
commit7090690359230d72501f5ee2825b71cc036cf6c8 (patch)
treeaef7d6851bf5af5e8a14dc83a9beb36a7db9d094
parent890dd192ecf76a57f470b5f7edf49ac0ec802689 (diff)
The SourceId value is being escaped (#27559)
-rw-r--r--ydb/core/persqueue/pqtablet/partition/partition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/persqueue/pqtablet/partition/partition.cpp b/ydb/core/persqueue/pqtablet/partition/partition.cpp
index 34b40f17842..a80703c1af8 100644
--- a/ydb/core/persqueue/pqtablet/partition/partition.cpp
+++ b/ydb/core/persqueue/pqtablet/partition/partition.cpp
@@ -131,7 +131,7 @@ TStringBuilder MakeTxWriteErrorMessage(TMaybe<ui64> txId,
TStringBuf sourceId, ui64 seqNo)
{
TStringBuilder ss;
- ss << "[TxId: " << txId << ", Topic: '" << topicName << "', Partition " << partitionId << ", SourceId '" << sourceId << ", SeqNo " << seqNo << "] ";
+ ss << "[TxId: " << txId << ", Topic: '" << topicName << "', Partition " << partitionId << ", SourceId '" << EscapeC(sourceId) << ", SeqNo " << seqNo << "] ";
return ss;
}