dotnet-websharper / owin

Wrappers for hosting WebSharper sitelets and remoting components in OWIN projects
Apache License 2.0
10 stars 9 forks source link

Make server root path canonical #19

Open Tarmil opened 6 years ago

Tarmil commented 6 years ago

Passing a non-canonical path (eg a path that contains "..") as ServerRootDirectory currently fails. It should be made canonical like so:

let rootDirectory = DirectoryInfo(rootDirectory).FullName