Bug 162830 Bookmark with single quote doesn't work in Web Viewer
Description: Bookmark with single quote doesn't work in Web Viewer Steps to reproduce: 1. Insert two labels, set page break between them. 2. Set bookmark "b'k" to the second label. 3. Define internal bookmark link in the first label. 4. Preview with web viewer/html/pdf, click the link. 5. preview with /preview servlet Expected result: Link works, can link to the second label. Actual result: pdf and /preview servlet can link to target label. Web Viewer(frameset and run servlet) cannot link to target label.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
else
			documentName = filePath;
		String targetFolder = documentFolder + fileSeparator + DOCUMENTS_DIR
				+ fileSeparator + sessionId + projectName;
		String documentPath = targetFolder + documentName;
		return documentPath;
	}
	/**
	 * make sure the project name is a valid folder name. If the name contains
	 * ":", remove it. If the project name does not start with "\" or "/", add
	 * the file separator at the beginning of the name. If the project name is
	 * null, just return it.
	 * 
	 * @param projectName
	 * @return
	 */
	private static String validateProjectName( String projectName )
	{
		if ( projectName == null )
			return projectName;
		if ( projectName.indexOf( ":" ) != -1 ) 
			projectName = projectName.substring( 0, projectName.indexOf( ":" ) ); 
		if ( !"\\".equals( projectName.substring( 0, 1 ) ) 
				&& !"/".equals( projectName.substring( 0, 1 ) ) ) 
		{
			projectName = File.separator + projectName;
		}
		return projectName;
	}
	/**