XMLFilters
to protect against Cross-Site Scripting (XSS).See: Description
Interface | Description |
---|---|
StringFilter |
String Value replacement Filter;
|
Class | Description |
---|---|
AttributeNameRegexpFilter |
Attribute Removal Filter;
Removes attributes matching regexps added with
AttributeNameRegexpFilter.add(String) . |
AttributeNameRemovalFilter |
Attribute Removal Filter;
Removes attributes matching names added with
AttributeNameRemovalFilter.add(String) . |
AttributeNameStartFilter |
Attribute Start Filter; removes attributes whose name starts with the specified name
|
AttributeNameValueReplacementFilter |
Attribute Name/Value replacement Filter;
Updates attribute values with specified name by with the specified callback.
|
AttributeValueFilter |
Attribute Value Filter; removes attributes whose value contains the specified content
|
AttributeValueRegexpFilter |
AttributeValue Regexp Filter; removes attributes whose content matches the specified regexp
|
AttributeValueStartFilter |
Attribute Start Filter; removes attributes whose content starts with the specified content
|
BodyContentsFilter |
Body Contents Filter; drops everything that's not in <body>
|
CSSParsingStringFilter |
CSS String value replacement Filter.
|
DeXSSFilterImpl |
Base class for XSS filters
Extends
XMLFilterImpl and provides the methods for DeXSSChangeListener. |
ElementLiftingFilter |
Element Lifting Filter; Lifts content of matching element (and its attributes) by eliding it and replacing it with its own content.
|
ElementRemovalFilter |
Element Removal Filter;
Removes the specified element and all its content.
|
ElementReplacementFilter |
Element Replacement filter; replaces one element name with another, but leaves content alone.
|
IdentityFilter |
Identity Filter;
Makes no changes.
|
Implements a set of XMLFilters
to protect against Cross-Site Scripting (XSS).
Copyright (C) 2005, 2006, 2007, 2012 Xerox Corporation
Copyright 2012 Leigh L. Klotz, Jr. http://dexss.org
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Portions of the file build.xml were derived from TagSoup Copyright (c) 2005-2012 John Cowan licensed under AFL.