mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Added proper 404 response
This commit is contained in:
parent
19b6564ccd
commit
6a1222a667
@ -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…
Reference in New Issue
Block a user