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
}
		if ( renderContext instanceof PDFRenderContext )
		{
			baseURL = ( (PDFRenderContext) renderContext ).getBaseURL( );
		}
		if ( baseURL == null )
			baseURL = IBirtConstants.VIEWER_RUN;
		StringBuffer link = new StringBuffer( );
		String reportName = getReportName( context, action );
		if ( reportName != null && !reportName.equals( "" ) ) 
		{
			link.append( baseURL );
			link
					.append( reportName.toLowerCase( )
							.endsWith( ".rptdocument" ) ? "?__document=" : "?__report=" ); 
			try
			{
				link.append( URLEncoder.encode( reportName,
						ParameterAccessor.UTF_8_ENCODE ) );
			}
			catch ( UnsupportedEncodingException e1 )
			{
				
			}
			
			String format = action.getFormat( );
			if ( format == null || format.length( ) == 0 )
				format = hostFormat;
			if ( format != null && format.length( ) > 0 )
			{