1
0
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:
Uncled1023 2017-04-09 01:25:20 -07:00
parent 19b6564ccd
commit 6a1222a667

View File

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