Skip to content

Commit ee40966

Browse files
committed
修改文件上传的白名单为黑名单
1 parent ca4383a commit ee40966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Redirect="on"
66
CookieMatch="on"
77
postMatch="on"
88
whiteModule="on"
9-
fileExtension={"jpeg","gif","jpg","png","bmp","rar","zip","tar.gz"}
9+
black_fileExt={"php","jsp"}
1010
ipWhitelist={"127.0.0.1"}
1111
ipBlocklist={"1.0.0.1"}
1212
CCDeny="off"

0 commit comments

Comments
 (0)