All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.frameworkset.util.ReferHelper Maven / Gradle / Ivy

Go to download

bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com

There is a newer version: 6.2.7
Show newest version
package org.frameworkset.util;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.frameworkset.util.StringUtil;

public class ReferHelper {
	private static Logger logger = LoggerFactory.getLogger(ReferHelper.class);
	private String[] refererwallwhilelist;
	private boolean refererDefender = false;
	private PathMatcher pathMatcher;
	private String[] wallfilterrules;
	private String[] wallwhilelist;
	public final static String[] wallfilterrules_default = new String[] {
			"= 0) {
					values[j] = null;
					logger.warn("参数" + name + "值" + value + "包含敏感词:"
							+ wallfilterrules[i] + ",存在安全隐患,系统自动过滤掉参数值!");
					break;
				}
			}
			j++;

		}
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy