Explorar el Código

Added proper 404 response

tags/3.0.0
Teknikode hace 4 años
padre
commit
6a1222a667
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      Teknik/Areas/Upload/Controllers/UploadController.cs

+ 4
- 0
Teknik/Areas/Upload/Controllers/UploadController.cs Ver fichero

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

Cargando…
Cancelar
Guardar