-
+
<%@include file="/WEB-INF/include/form/basicInfo.jsp" %>
diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp
index 99be631ce..296980cb6 100644
--- a/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp
@@ -297,6 +297,7 @@
|
|
|
+
|
|
|
|
@@ -345,6 +346,12 @@
${cfg.expireAfter } |
+
+
+ ${fn:substring(cfg.crl,0,20) }
+
+ |
diff --git a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/jquery.validate.method.js b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/jquery.validate.method.js
index b4c892e78..b1d3ff4e6 100644
--- a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/jquery.validate.method.js
+++ b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/jquery.validate.method.js
@@ -208,6 +208,14 @@ jQuery.validator.addMethod("httpCheck",function(value, element) {
}
return false;
});
+//证书crl 格式校验
+jQuery.validator.addMethod("crlCheck",function(value, element) {
+ var regexp=/^[hH][tT][tT][pP]:\/\/(\S+\.)+\S{2,}(.)crl$/;
+ if(this.optional(element)||regexp.test(value)){
+ return true;
+ }
+ return false;
+});
/*协议端口校验
* 规则TCP,UDP协议端口可以不为0
* 其他协议端口必须为0
diff --git a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js
index 659631c94..45cd4d968 100644
--- a/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js
+++ b/src/main/webapp/static/global/plugins/jquery-validation/1.11.0/localization/messages_en.js
@@ -68,6 +68,7 @@
hasInvisibleChar:"The tag {0} has invisible character",
haveInvisibleChar:"The tags {0} have invisible character",
httpCheck:"Please enter a correct url(http[s]://xxx.xx)",
+ crlCheck:"Please enter a correct crl(http://xxx.xx.crl)",
failed:"Failed",
go_back:"Return",
log_5_minutes:"Log For The Last Five Minutes",
|