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 isRtl;
	}
	/**
	 * Get report locale from a given string.
	 * 
	 * @param locale
	 *            locale string
	 * @return report locale
	 */
	public static Locale getLocaleFromString( String locale )
	{
		if ( locale == null || locale.length( ) <= 0 )
		{
			return null;
		}
		int index = locale.indexOf( '_' );
		if ( index != -1 )
		{
			String language = locale.substring( 0, index );
			String country = locale.substring( index + 1 );
			return new Locale( language, country );
		}
		return new Locale( locale );
	}
	/**
	 * Get report locale in string.
	 * 
	 * @param request
	 *            http request