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