org.eaglei.repository.util
Class HTMLFilter

java.lang.Object
  extended by org.eaglei.repository.util.HTMLFilter

public final class HTMLFilter
extends java.lang.Object

HTML filter utility.

Version:
$Revision: 467217 $ $Date: 2006-10-24 05:14:34 +0200 (Tue, 24 Oct 2006) $
Author:
Craig R. McClanahan, Tim Tye

Constructor Summary
HTMLFilter()
           
 
Method Summary
static java.lang.String filter(java.lang.String message)
          Filter the specified message string for characters that are sensitive in HTML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLFilter

public HTMLFilter()
Method Detail

filter

public static java.lang.String filter(java.lang.String message)
Filter the specified message string for characters that are sensitive in HTML. This avoids potential attacks caused by including JavaScript codes in the request URL that is often reported in error messages.

Parameters:
message - The message string to be filtered
Returns:
a String object.


Copyright © 2009-2010 Eagle-I. All Rights Reserved.