Fix malformed URL in KeyVault (#5129)
* Fix malformed URL in KeyVault * Update changelog --------- Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
6cae0c71fa
commit
37060211b5
@ -2,5 +2,5 @@
|
||||
"AssetsRepo": "Azure/azure-sdk-assets",
|
||||
"AssetsRepoPrefixPath": "cpp",
|
||||
"TagPrefix": "cpp/keyvault",
|
||||
"Tag": "cpp/keyvault_b7bbda693f"
|
||||
"Tag": "cpp/keyvault_51f59d3347"
|
||||
}
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
### Other Changes
|
||||
|
||||
- Fixed GCC 13 compilation error. (A community contribution, courtesy of _[adamdebreceni](https://github.com/adamdebreceni)_)
|
||||
- Use well-formed URL for the HTTP request made in `KeyClient::GetRandomBytes()`.
|
||||
|
||||
### Acknowledgments
|
||||
|
||||
|
||||
@ -462,7 +462,7 @@ Azure::Response<GetRandomBytesResult> KeyClient::GetRandomBytes(
|
||||
reinterpret_cast<const uint8_t*>(payload.data()), payload.size());
|
||||
|
||||
// Request and settings
|
||||
auto request = CreateRequest(HttpMethod::Post, {"/rng"}, &payloadStream);
|
||||
auto request = CreateRequest(HttpMethod::Post, {"rng"}, &payloadStream);
|
||||
request.SetHeader(HttpShared::ContentType, HttpShared::ApplicationJson);
|
||||
|
||||
// Send and parse response
|
||||
|
||||
Loading…
Reference in New Issue
Block a user