[Modify] Replace it
This commit is contained in:
parent
a93c894e60
commit
a1e56b5251
@ -784,7 +784,7 @@ namespace WebSocketSharp.Net
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!value.IsPrintable ()) {
|
if (!isValidForStatusDescription (value)) {
|
||||||
var msg = "It contains an invalid character.";
|
var msg = "It contains an invalid character.";
|
||||||
throw new ArgumentException (msg, "value");
|
throw new ArgumentException (msg, "value");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user