Add an additional layer of protection in case app fails to protect against an XSS.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 8 Jun 2008 11:30:44 +0000 (11:30 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 8 Jun 2008 11:30:44 +0000 (11:30 +0000)
commita7f92b847d9a8c5d1b7d4123c7f75336884eb9e7
tree9a10beae87e383ca6bbaeceffb26752be0bdb0e0
parentc4d242e8513a7376a6a11a443bb55a9a4e0faa47
Add an additional layer of protection in case app fails to protect against an XSS.
Copied filter code to jasper module so no new dependency is created.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@664483 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/jasper/security/SecurityUtil.java
java/org/apache/jasper/servlet/JspServlet.java