[Modify] Replace it

This commit is contained in:
sta 2018-10-31 20:17:39 +09:00
parent a878d410d3
commit e1a5aca94a

View File

@ -332,7 +332,7 @@ namespace WebSocketSharp.Net
}
else if (pair.StartsWith ("comment", StringComparison.InvariantCultureIgnoreCase)) {
if (cookie != null)
cookie.Comment = pair.GetValue ('=').UrlDecode ();
cookie.Comment = HttpUtility.UrlDecode (pair.GetValue ('='));
}
else if (pair.StartsWith ("commenturl", StringComparison.InvariantCultureIgnoreCase)) {
if (cookie != null)