aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Devillechabrol <[email protected]>2025-04-02 10:48:23 -0700
committerGitHub Enterprise <[email protected]>2025-04-02 10:48:23 -0700
commit896530f4dc746098c90212d35e8e120de8acdc42 (patch)
tree665d5c9002cd97c04ddffeaf211fcf8e55d01dce /src
parentadded --find-max-block-count option to builds upload (#337) (diff)
parentMerge branch 'main' into fd-fix-binary-json (diff)
downloadzen-896530f4dc746098c90212d35e8e120de8acdc42.tar.xz
zen-896530f4dc746098c90212d35e8e120de8acdc42.zip
Merge pull request #319 from ue-foundation/fd-fix-binary-json
Fixed missing trailing quote when converting binary data from compact binary to json
Diffstat (limited to 'src')
-rw-r--r--src/zencore/compactbinaryjson.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/compactbinaryjson.cpp b/src/zencore/compactbinaryjson.cpp
index d8c8a8584..68ed09549 100644
--- a/src/zencore/compactbinaryjson.cpp
+++ b/src/zencore/compactbinaryjson.cpp
@@ -293,6 +293,7 @@ private:
const uint32_t EncodedSize = Base64::GetEncodedDataSize(uint32_t(Value.GetSize()));
const size_t EncodedIndex = Builder.AddUninitialized(size_t(EncodedSize));
Base64::Encode(static_cast<const uint8_t*>(Value.GetData()), uint32_t(Value.GetSize()), Builder.Data() + EncodedIndex);
+ Builder << '"';
}
private: