修改自治区扫描接口漏洞问题
This commit is contained in:
@@ -37,7 +37,11 @@ public class EncryptConstants {
|
||||
"/app/speech/**",
|
||||
"/app/job/**",
|
||||
"/app/company/**",
|
||||
"/login",
|
||||
"/app/user/resume"
|
||||
"/app/companycontact/**",
|
||||
"/app/appskill/**",
|
||||
"/app/userworkexperiences/**",
|
||||
"/app/user/**",
|
||||
"/app/user/resume",
|
||||
"/cms/job/recommend"
|
||||
);
|
||||
}
|
||||
@@ -73,7 +73,7 @@ public class RequestWrapperFilter implements Filter {
|
||||
String forwardUrl = buildGetRequestURI(httpRequest);
|
||||
|
||||
// 先做输入规范化 + 解码,消除编码/格式绕过
|
||||
String normalizedForwardUrl = normalizePath(forwardUrl);
|
||||
// String normalizedForwardUrl = normalizePath(forwardUrl);
|
||||
// if (normalizedForwardUrl == null) {
|
||||
// log.error("非法内部转发:路径格式异常 {}", LogUtils.cleanLog(forwardUrl));
|
||||
// httpResponse.sendError(InternalForwardConstants.FORBIDDEN_CODE, InternalForwardConstants.FORBIDDEN_MSG);
|
||||
|
||||
Reference in New Issue
Block a user