markt       2005/01/05 02:25:04

  Modified:    webapps/examples/jsp/snp snoop.jsp
  Log:
  Fix possible XSS issue.
  
  Revision  Changes    Path
  1.3       +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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- snoop.jsp 23 Apr 2002 15:17:26 -0000      1.2
  +++ snoop.jsp 5 Jan 2005 10:25:04 -0000       1.3
  @@ -7,7 +7,7 @@
   <body bgcolor="white">
   <h1> Request Information </h1>
   <font size="4">
  -JSP Request Method: <%= request.getMethod() %>
  +JSP Request Method: <%= util.HTMLFilter.filter(request.getMethod()) %>
   <br>
   Request URI: <%= request.getRequestURI() %>
   <br>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to