[Modify] Replace it

master
sta 7 years ago
parent a878d410d3
commit e1a5aca94a

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

Loading…
Cancel
Save