Parcourir la source

Added proper 404 response

tags/3.0.0
Teknikode il y a 4 ans
Parent
révision
6a1222a667
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      Teknik/Areas/Upload/Controllers/UploadController.cs

+ 4
- 0
Teknik/Areas/Upload/Controllers/UploadController.cs Voir le fichier

@@ -151,6 +151,10 @@ namespace Teknik.Areas.Upload.Controllers
contentLength = uploads.ContentLength;
dateUploaded = uploads.DateUploaded;
}
else
{
return Redirect(Url.SubRouteUrl("error", "Error.Http404"));
}
}

// We don't have the key, so we need to decrypt it client side

Chargement…
Annuler
Enregistrer