Skip to content

Commit

Permalink
Updating .NET Cookie JSON serialization to omit SameSite when null
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Mar 17, 2020
1 parent 411d798 commit 8e1c405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Cookie.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public virtual bool IsHttpOnly
/// <summary>
/// Gets the SameSite setting for the cookie.
/// </summary>
[JsonProperty("sameSite")]
[JsonProperty("sameSite", NullValueHandling = NullValueHandling.Ignore)]
public virtual string SameSite
{
get { return this.sameSite; }
Expand Down

0 comments on commit 8e1c405

Please sign in to comment.