You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below code generates an identity of ZZGGHH_abc rather than the expected ZZGGHH_abc&h=g. I suspect some of your code is not correctly url encoding inputs.
Note that the code does work if you pass in traits. So I suspect
using Flagsmith;
namespace TestsForFlagSmith
{
public class IssueForFlagSmith : TestsCommon
{
protected static readonly Lazy<FlagsmithClient> _flagsmithClient = new Lazy<FlagsmithClient>(() => new FlagsmithClient("keyhere"));
[Test]
public async Task CorrectIdentityIsGenerated()
{
var identity = "ZZGGHH_abc&h=g";
var flags = await _flagsmithClient.Value.GetIdentityFlags(identity);
}
}
}
The text was updated successfully, but these errors were encountered:
The below code generates an identity of
ZZGGHH_abc
rather than the expectedZZGGHH_abc&h=g
. I suspect some of your code is not correctly url encoding inputs.Note that the code does work if you pass in traits. So I suspect
flagsmith-dotnet-client/Flagsmith.FlagsmithClient/FlagsmithClient.cs
Line 366 in 4a83292
flagsmith-dotnet-client/Flagsmith.FlagsmithClient/FlagsmithClient.cs
Line 361 in 4a83292
The text was updated successfully, but these errors were encountered: