Skip to content
Permalink
Browse files

Further changes

  • Loading branch information...
KrzysztofPajak committed May 30, 2019
1 parent a39d521 commit f52570a2192fb754cab3349be04eaa3cb0841c20
Showing with 1 addition and 1 deletion.
  1. +1 −1 Grand.Web/Controllers/LetsEncryptController.cs
@@ -13,7 +13,7 @@ public virtual IActionResult Index(string fileName)
if (fileName == null)
return Content("");

var file = Path.GetFullPath(CommonHelper.MapPath("~/wwwroot/content/acme/") + fileName);
var file = CommonHelper.MapPath("~/wwwroot/content/acme/") + Path.GetFileName(fileName);
if (System.IO.File.Exists(file))
{
return new PhysicalFileResult(file, "text/plain");

0 comments on commit f52570a

Please sign in to comment.
You can’t perform that action at this time.