Bug 161501 [Smoke] Chart can not be previewed in Web Viewer & HTML
Chart can not be previewed in Web Viewer & HTML Steps to reproduce: 1. Create a chart. 2. Preveiw in Web Viewer/ HTML. Expected result: Chart can be previewed. Actual result: No chart is shown.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
if ( value == null )
		{
			return null;
		}
		value = value.replaceAll( "\"", "\"\"" ); 
		boolean needQuote = false;
		needQuote = ( value.indexOf( ',' ) != -1 )
				|| ( value.indexOf( '"' ) != -1 )
				|| ( value.indexOf( 0x0A ) != -1 )
				|| value.startsWith( " " ) || value.endsWith( " " ); 
		value = needQuote ? "\"" + value + "\"" : value; 
		return value;
	}
	/**
	 * Prepare the report parameters.
	 * 
	 * @param request
	 * @param task
	 * @param configVars
	 * @param locale
	 * @return map of the request parameters
	 */
	public HashMap parseParameters( HttpServletRequest request,
			IGetParameterDefinitionTask task, Map configVars, Locale locale )
	{
		assert task != null;
		HashMap params = new HashMap( );
		Collection parameterList = task.getParameterDefns( false );
		for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); )
		{