* DiscImageChef.Server/Default.aspx.cs:

* DiscImageChef.Server/Controllers/UploadStatsController.cs:

	* DiscImageChef.Server/ViewReport.aspx.cs:
	  Show requested information before adapted for filesystem.
This commit is contained in:
2017-06-05 17:46:27 +01:00
parent af244b0055
commit d21e79a212
4 changed files with 18 additions and 4 deletions

View File

@@ -212,6 +212,8 @@ namespace DiscImageChef.Server
HttpUtility.UrlPathEncode(device.Model));
}
xmlFile = xmlFile.Replace('/', '_').Replace('\\', '_').Replace('?', '_');
if(!File.Exists(Path.Combine(System.Web.Hosting.HostingEnvironment.MapPath("~"), "Reports", xmlFile)))
{
url = null;