microsoft / botbuilder-dotnet

Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
https://github.com/Microsoft/botframework
MIT License
864 stars 480 forks source link

CosmosDBKeyEscape.TruncateKeyIfNeeded return different value after compiled #6768

Open yungfu opened 3 months ago

yungfu commented 3 months ago

Version

4.22.2

Describe the bug

If storage key length is larger than 255, compile program, and run it again, this method will return different value. I think this method should return same value each time.