Authored by mali

Merge branch 'dev'

... ... @@ -332,7 +332,7 @@ public class SecurityInterceptor implements HandlerInterceptor, ApplicationEvent
private boolean urlContains(String requestUri, List<String> excludeUrls) {
for (String excludeUri : excludeUrls) {
if (requestUri.equals(excludeUri) || requestUri.startsWith(excludeUri) || requestUri.startsWith("/gateway" + excludeUri) || requestUri.endsWith(excludeUri)) {
if (requestUri.equals(excludeUri) || requestUri.startsWith(excludeUri) || requestUri.startsWith("/ufo-gateway" + excludeUri) || requestUri.endsWith(excludeUri)) {
return true;
}
}
... ...
... ... @@ -147,7 +147,7 @@ public class SignatureVerifyInterceptor implements HandlerInterceptor, Applicati
private boolean urlContains(String requestUri, List<String> excludeUrls) {
for (String excludeUri : excludeUrls) {
if (requestUri.equals(excludeUri) || requestUri.startsWith(excludeUri) || requestUri.startsWith("/gateway" + excludeUri) || requestUri.endsWith(excludeUri)) {
if (requestUri.equals(excludeUri) || requestUri.startsWith(excludeUri) || requestUri.startsWith("/ufo-gateway" + excludeUri) || requestUri.endsWith(excludeUri)) {
return true;
}
}
... ...
... ... @@ -27,11 +27,7 @@
<property name="isDebugEnable" value="${is_debug_enable:false}" />
<property name="excludeUrls">
<list>
<value>/jsp</value>
<value>/erp</value>
<value>/payment</value>
<value>/purchase</value>
<value>/guang</value>
<value>/html</value>
</list>
</property>
<property name="local">
... ... @@ -44,7 +40,7 @@
<property name="checkMethods" ref="validateMethodMap"/>
<property name="excludeUrls">
<list>
<value>/jsp</value>
<value>/html</value>
</list>
</property>
</bean>
... ...