定时任务目标字符串过滤特殊字符

This commit is contained in:
RuoYi
2022-01-05 15:04:51 +08:00
parent 6274bfcd8c
commit cde32b45c0
2 changed files with 7 additions and 7 deletions

View File

@@ -20,12 +20,12 @@ public class Constants
/**
* RMI 远程方法调用
*/
public static final String LOOKUP_RMI = "rmi://";
public static final String LOOKUP_RMI = "rmi:";
/**
* LDAP 远程方法调用
*/
public static final String LOOKUP_LDAP = "ldap://";
public static final String LOOKUP_LDAP = "ldap:";
/**
* http请求
@@ -117,5 +117,5 @@ public class Constants
* 定时任务违规的字符
*/
public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
"org.springframework.jndi" };
"org.springframework" };
}