t5.aspx 601 B

123456789101112131415161718192021222324252627
  1. <%@ Page language="c#" debug="true" %>
  2. <html>
  3. <script runat="server">
  4. void Page_Load (Object sender,EventArgs e)
  5. {
  6. try {
  7. HttpResponse.RemoveOutputCacheItem (null);
  8. throw new Exception ("#01");
  9. } catch (ArgumentNullException) {}
  10. HttpResponse.RemoveOutputCacheItem ("");
  11. HttpResponse.RemoveOutputCacheItem ("/");
  12. try {
  13. HttpResponse.RemoveOutputCacheItem ("a");
  14. throw new Exception ("#02");
  15. } catch (ArgumentException) {}
  16. HttpResponse.RemoveOutputCacheItem ("/../hola");
  17. Response.Clear ();
  18. Response.Write ("OK");
  19. Response.End ();
  20. }
  21. </script>
  22. <body>
  23. </body>
  24. </html>