[Modify] Polish it
This commit is contained in:
parent
200e13a2da
commit
03fd189483
@ -858,6 +858,7 @@ namespace WebSocketSharp.Server
|
|||||||
private string createFilePath (string childPath)
|
private string createFilePath (string childPath)
|
||||||
{
|
{
|
||||||
childPath = childPath.TrimStart ('/', '\\');
|
childPath = childPath.TrimStart ('/', '\\');
|
||||||
|
|
||||||
return new StringBuilder (_docRootPath, 32)
|
return new StringBuilder (_docRootPath, 32)
|
||||||
.AppendFormat ("/{0}", childPath)
|
.AppendFormat ("/{0}", childPath)
|
||||||
.ToString ()
|
.ToString ()
|
||||||
|
Loading…
Reference in New Issue
Block a user