浏览代码

Added proper 404 response

tags/3.0.0
Teknikode 4 年前
父节点
当前提交
6a1222a667
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      Teknik/Areas/Upload/Controllers/UploadController.cs

+ 4
- 0
Teknik/Areas/Upload/Controllers/UploadController.cs 查看文件

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

正在加载...
取消
保存