net.kwfgrid.gwes.util
Class HTMLFilter
java.lang.Object
net.kwfgrid.gwes.util.HTMLFilter
public final class HTMLFilter
- extends Object
HTML filter utility.
- Version:
- $Revision: 1433 $ $Date: 2010-11-29 19:06:07 +0100 (Mon, 29 Nov 2010) $
- Author:
- Craig R. McClanahan, Tim Tye
|
Method Summary |
static String |
filter(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 |
HTMLFilter
public HTMLFilter()
filter
public static String filter(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
Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.