Bug 214204 Only document content in document folder should be removed.[0601]
Description: Only document related content in document folder should be removed. Build number:2.3.0.v20080103 Steps to reproduce: 1. Deploy BIRT. 2. Edit web.xml to set BIRT_VIEWER_DOCUMENT_FOLDER to your local path and there are content inside the path. 3. Start server and click View Example to preview sample report. Expected result: Only content created by viewer should be removed in specified document folder. Actual result: All contents are deleted despite whether they are related with BIRT. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
case '/' :
					sbHtmlEncoded.append( "&#47;" ); 
					break;
				default :
					sbHtmlEncoded.append( c );
			}
		}
		sHtmlEncoded = sbHtmlEncoded.toString( );
		return sHtmlEncoded;
	}
	/**
	 * This function is used to decode a htmlEncoded string and convert to the
	 * orginial string
	 * 
	 * @param s
	 * @return String
	 */
	public static final String htmlDecode( String s )
	{
		if ( s == null )
			return null;
		String sHtmlDecoded = s.replaceAll( "&#09;", "\t" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "<br>", "\n" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#13;", "\r" ); 
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#32;", " " );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#34;", "\"" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#39;", "'" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#60;", "<" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#62;", ">" );
		sHtmlDecoded = sHtmlDecoded.replaceAll( "&#96;", "`" );