Package org.apache.myfaces.util
Class IllegalXmlCharacterFilterWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.myfaces.util.IllegalXmlCharacterFilterWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
There are unicodes outside the ranges defined in the
XML 1.0 specification that break XML parsers
and therefore must be filtered out when writing partial responses. Otherwise this may lead to
Denial of Service attacks.
-
Field Summary
Fields inherited from class java.io.FilterWriter
out
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterWriter
close, flush
-
Constructor Details
-
IllegalXmlCharacterFilterWriter
-
-
Method Details
-
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-
write
- Overrides:
write
in classFilterWriter
- Throws:
IOException
-