error.mak 502B

1234567891011121314151617181920212223
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html>
  4. <head>
  5. <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
  6. <title>A ${code} Error has Occurred </title>
  7. </head>
  8. <body>
  9. <h1>Error ${code}</h1>
  10. <%
  11. import re
  12. mf = re.compile(r'(</?)script', re.IGNORECASE)
  13. def fixmessage(message):
  14. return mf.sub(r'\1noscript', message)
  15. %>
  16. <div>${fixmessage(message) | n}</div>
  17. </body>
  18. </html>