[Modify] Polish it
This commit is contained in:
parent
03fd189483
commit
bdd1bbde71
@ -1450,6 +1450,7 @@ namespace WebSocketSharp.Server
|
||||
throw new ArgumentException ("It contains '..'.", "path");
|
||||
|
||||
path = createFilePath (path);
|
||||
|
||||
return File.Exists (path) ? File.ReadAllBytes (path) : null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user