Commit graph

7 commits

Author SHA1 Message Date
Henrik Levkowetz c0d96d16f1 Regression ?!?
- Legacy-Id: 2258
2010-05-12 10:08:18 +00:00
Henrik Levkowetz 8f74caf7d2 Add Unicode NFKC normalization of paths. Somebody just tried to access /wg/ipfix/charter/ with 'fi' composed as a ligature \ufb01...
- Legacy-Id: 2253
2010-05-11 10:11:24 +00:00
Pasi Eronen f760caa421 Cleaned away unused code
- Legacy-Id: 2065
2010-03-12 07:39:36 +00:00
Bill Fenner 60cd431e2f Add middleware that catches 404 errors if the original URL has a trailing
period and redirects to the same URL with no trailing periods.
Add a redirect test in the top-level testurl.list.
 - Legacy-Id: 850
2007-07-07 19:26:18 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Bill Fenner cae902a373 Add two middleware classes:
- SQLLogMiddleware.  This logs any INSERT or UPDATE performed by
a request.

- SMTPExceptionMiddleware.  This renders a "please try again"
(template email_failed.html) message when an attempt to send
email failed.  This uses a bit of a hack, in that the middleware
looks explicitly for smtplib.SMTPException, and smtplib can
raise other exceptions (particularly socket errors).  utils/mail/send_smtp
catches all exceptions and reraises non-smtplib exceptions as
fake smtplib exceptions, and the middleware undoes the wrapping.
 - Legacy-Id: 224
2007-06-04 13:52:34 +00:00
Henrik Levkowetz 80829985a0 Added prettifying middleware (from djangosnippet 172)
- Legacy-Id: 103
2007-05-06 05:14:25 +00:00