Explorar el Código

UEditor catchimage漏洞屏蔽

娄底高职分支
liangkun hace 1 año
padre
commit
2fb2fc9e8a
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. +6
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs

+ 6
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs Ver fichero

@@ -97,7 +97,12 @@ namespace Learun.Application.Web.Controllers
case "listfile":
return ListFileManager(UeditorConfig.GetString("fileManagerListPath"), UeditorConfig.GetStringList("fileManagerAllowFiles"));
case "catchimage":
return CrawlerHandler();
//漏洞修复
//return CrawlerHandler();
return Content(new
{
state = "action 参数为空或者 action 不被支持。"
}.ToJson());
default:
return Content(new
{


Cargando…
Cancelar
Guardar