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
return encodedString;
	}
	/**
	 * Parse config file name from report design filename.
	 * 
	 * @param reportDesignName
	 *            String
	 * @return String
	 */
	public static String getConfigFileName( String reportDesignName )
	{
		if ( reportDesignName == null )
			return null;
		String configFileName = null;
		if ( reportDesignName.endsWith( IBirtConstants.SUFFIX_DESIGN_FILE ) )
		{
			configFileName = reportDesignName.replaceFirst(
					IBirtConstants.SUFFIX_DESIGN_FILE,
					IBirtConstants.SUFFIX_DESIGN_CONFIG );
		}
		else if ( reportDesignName
				.endsWith( IBirtConstants.SUFFIX_TEMPLATE_FILE ) )
		{
			configFileName = reportDesignName.replaceFirst(
					IBirtConstants.SUFFIX_TEMPLATE_FILE,
					IBirtConstants.SUFFIX_DESIGN_CONFIG );
		}
		return configFileName;
	}
}