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