diff options
| author | Florent Devillechabrol <[email protected]> | 2025-03-24 11:22:40 -0700 |
|---|---|---|
| committer | Florent Devillechabrol <[email protected]> | 2025-03-24 11:22:40 -0700 |
| commit | 91b31318b2390d827d2a0c2a890d54cbf132dc63 (patch) | |
| tree | acde4c72508732cfbbd441ae7dcccf050de36794 | |
| parent | don't let auth env argument block other auth options (#316) (diff) | |
| download | zen-91b31318b2390d827d2a0c2a890d54cbf132dc63.tar.xz zen-91b31318b2390d827d2a0c2a890d54cbf132dc63.zip | |
Fixed missing trailing quote when converting binary data from compact binary to json
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/zencore/compactbinaryjson.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 51a6f2bb8..fbce9a19e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ - Bugfix: Fixed crash during download when trying to write outside a file range - Bugfix: MacOS / Linux zen build download now works correctly - Bugfix: Env auth parsing blocked parsing OAuth and OpenId options + - Bugfix: Fixed missing trailing quote when converting binary data from compact binary to json ## 5.6.0 - Feature: Added support for `--trace`, `--tracehost` and `--tracefile` options to zen CLI command 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: |