Commit a95d4306 authored by Liang Ding's avatar Liang Ding

Fixed #141

parent ee7df903
......@@ -15,9 +15,9 @@
*/
package org.b3log.solo.filter;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
......@@ -74,6 +74,13 @@ public final class InitCheckFilter implements Filter {
final String requestURI = httpServletRequest.getRequestURI();
LOGGER.log(Level.FINEST, "Request[URI={0}]", requestURI);
if (requestURI.startsWith("/latke/remote")) {
// If requests Latke Remote APIs, skips this filter
chain.doFilter(request, response);
return;
}
try {
if (SoloServletListener.isInited()) {
chain.doFilter(request, response);
......
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/"/>
<Context antiJARLocking="true" path=""/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment