[Modify] Polish it
This commit is contained in:
parent
c48861c79e
commit
64925eaa9e
@ -907,8 +907,8 @@ namespace WebSocketSharp
|
|||||||
|
|
||||||
internal static string TrimEndSlash (this string value)
|
internal static string TrimEndSlash (this string value)
|
||||||
{
|
{
|
||||||
value = value.TrimEnd ('/');
|
var ret = value.TrimEnd ('/');
|
||||||
return value.Length > 0 ? value : "/";
|
return ret.Length > 0 ? ret : "/";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user