diff options
| author | Michael <[email protected]> | 2017-04-05 21:49:07 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-05 21:49:07 -0400 |
| commit | 2111b90277a3f951715d45a8f6cccd2f12bd2439 (patch) | |
| tree | ff4611d5d26da3c150479b46ad9925159399d703 | |
| parent | aa29df784e5f0ed019290e845dccc96c489fae47 (diff) | |
| download | project-unite-2111b90277a3f951715d45a8f6cccd2f12bd2439.tar.gz project-unite-2111b90277a3f951715d45a8f6cccd2f12bd2439.tar.bz2 project-unite-2111b90277a3f951715d45a8f6cccd2f12bd2439.zip | |
I see an IIS bug.
| -rw-r--r-- | Project-Unite/Controllers/DeveloperController.cs | 2 | ||||
| -rw-r--r-- | Project-Unite/Controllers/DownloadController.cs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Project-Unite/Controllers/DeveloperController.cs b/Project-Unite/Controllers/DeveloperController.cs index f1b3868..03db75f 100644 --- a/Project-Unite/Controllers/DeveloperController.cs +++ b/Project-Unite/Controllers/DeveloperController.cs @@ -90,7 +90,7 @@ namespace Project_Unite.Controllers string file_name_d = model.Download.FileName.ToLower(); foreach(var c in file_name_d.ToCharArray()) { - if (!ApprovedIdChars.Contains(c)) + if (!ApprovedIdChars.Contains(c) && c != '.') file_name_d = file_name_d.Replace(c, '_'); } download_dir += file_name_d; diff --git a/Project-Unite/Controllers/DownloadController.cs b/Project-Unite/Controllers/DownloadController.cs index 5847aed..b429d71 100644 --- a/Project-Unite/Controllers/DownloadController.cs +++ b/Project-Unite/Controllers/DownloadController.cs @@ -16,6 +16,7 @@ namespace Project_Unite.Controllers return View(db.Downloads); } + // GET: http://getshiftos.ml/Download/ViewRelease/shiftos_0.0.7_alpha_4.1_0 public ActionResult ViewRelease(string id) { var db = new ApplicationDbContext(); |
