Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
Merge pull request #235 from markvantilburg/patch-5
Browse files Browse the repository at this point in the history
Update FileContentProvider.cs
  • Loading branch information
Jérémie Bertrand committed Apr 12, 2015
2 parents eac504f + 331a086 commit 4aa22c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pretzel/WebHost/FileContentProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private string GetRequestedPage(string request)
/// <returns>Path to the file</returns>
private string GetFullPath(string request)
{
return Uri.UnescapeDataString(Path.Combine(basePath + request));
return System.Web.HttpUtility.UrlDecode(Path.Combine(basePath + request));
}
}
}

0 comments on commit 4aa22c7

Please sign in to comment.