tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/examples/jsp/snp snoop.jsp
Date Wed, 05 Jan 2005 11:14:09 GMT
markt       2005/01/05 03:14:09

  Modified:    webapps/examples/jsp/snp snoop.jsp
  Log:
  Another possible XSS issue.
  
  Revision  Changes    Path
  1.5       +1 -1      jakarta-tomcat-4.0/webapps/examples/jsp/snp/snoop.jsp
  
  Index: snoop.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/examples/jsp/snp/snoop.jsp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- snoop.jsp	5 Jan 2005 10:34:52 -0000	1.4
  +++ snoop.jsp	5 Jan 2005 11:14:09 -0000	1.5
  @@ -21,7 +21,7 @@
   <br>
   Content length: <%= request.getContentLength() %>
   <br>
  -Content type: <%= request.getContentType() %>
  +Content type: <% out.print(util.HTMLFilter.filter(request.getContentType())); %>
   <br>
   Server name: <%= request.getServerName() %>
   <br>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message