Bug 145716 [deploy]WORKING_FOLDER_ACCESS_ONLY doesn't work for reports inside WebViewerExample folder
Description: WORKING_FOLDER_ACCESS_ONLY doesn't restrict report inside WebViewerExample folder Steps to reproduce: 1. Deploy birt 2. Set BIRT_VIEWER_WORKING_FOLDER to local folder using absolute path 3. Set WORKING_FOLDER_ACCESS_ONLY to true 4. Preview report inside WebViewerExample folder using relative path Expected result: Preview fails because the report isn't under working folder Actual result: Preview is ok
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
import javax.servlet.http.HttpServletRequest;
import org.apache.axis.AxisFault;
import org.eclipse.birt.report.IBirtConstants;
/**
 * Utilites class for all types of URl related operatnios.
 * <p>
 */
public class ParameterAccessor
{
	
	/**
	 * Servlet path for parameter model.
	 */
	public static final String SERVLET_PATH_PARAMETER = "/parameter"; 
	/**
	 * Servlet path for preview model.
	 */
	public static final String SERVLET_PATH_PREVIEW = "/preview"; 
	/**
	 * Servlet path for frameset model.
	 */
	public static final String SERVLET_PATH_FRAMESET = "/frameset"; 
	/**
	 * Servlet path for running model.
	 */
	public static final String SERVLET_PATH_RUN = "/run"; 
	/**
	 * Servlet path for running model.
	 */
	public static final String SERVLET_PATH_DOWNLOAD = "/download";