Bug 172643 Image in target report cannot display after drill through link.[04]
Description: Image in target report cannot display after drill through link. Build number:2.1.2.v20070202 Steps to reproduce: 1. New a folder inside project "scripting" 2. Copy attached report and image to scripting folder. 3. Preview the report and click the second image. Expected result: Open itself in a new window and display two images. Actual result: The first image cannot display. Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
}
		catch ( UnsupportedEncodingException e )
		{
			
		}
		link.append( baseURL );
		link.append( ParameterAccessor.QUERY_CHAR );
		
		if ( document != null )
		{
			link.append( ParameterAccessor.PARAM_REPORT_DOCUMENT );
			link.append( ParameterAccessor.EQUALS_OPERATOR );
			String documentName = document.getName( );
			try
			{
				documentName = URLEncoder.encode( documentName,
						ParameterAccessor.UTF_8_ENCODE );
			}
			catch ( UnsupportedEncodingException e )
			{
				
			}
			link.append( documentName );
		}
		else if ( action.getReportName( ) != null
				&& action.getReportName( ).length( ) > 0 )
		{
			link.append( ParameterAccessor.PARAM_REPORT );
			link.append( ParameterAccessor.EQUALS_OPERATOR );
			String reportName = getReportName( context, action );