Kaynağa Gözat

Added proper 404 response

tags/3.0.0
Teknikode 4 yıl önce
ebeveyn
işleme
6a1222a667

+ 4
- 0
Teknik/Areas/Upload/Controllers/UploadController.cs Dosyayı Görüntüle

@@ -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

Loading…
İptal
Kaydet