Bug 214204 Only document content in document folder should be removed.[0601]
Description: Only document related content in document folder should be removed. Build number:2.3.0.v20080103 Steps to reproduce: 1. Deploy BIRT. 2. Edit web.xml to set BIRT_VIEWER_DOCUMENT_FOLDER to your local path and there are content inside the path. 3. Start server and click View Example to preview sample report. Expected result: Only content created by viewer should be removed in specified document folder. Actual result: All contents are deleted despite whether they are related with BIRT. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.PropertyResourceBundle;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import org.apache.axis.AxisFault;
import org.eclipse.birt.report.IBirtConstants;
import org.eclipse.birt.report.context.BaseAttributeBean;
import org.eclipse.birt.report.resource.BirtResources;
import org.eclipse.birt.report.resource.ResourceConstants;
/**
 * Utilities class for all types of URl related operations.
 * <p>
 */
public class ParameterAccessor
{
	
	/**
	 * URL parameter name that specifies the viewer id.