changeset 1936 | c5af2fbda5b6 |
parent 1543 | dca9817bb337 |
child 1977 | 606923dff11b |
--- a/etwist/server.py Mon May 25 22:21:13 2009 +0200 +++ b/etwist/server.py Mon May 25 22:26:05 2009 +0200 @@ -196,7 +196,7 @@ if self.url_rewriter is not None: # XXX should occur before authentication? try: - path = self.url_rewriter.rewrite(host, origpath) + path = self.url_rewriter.rewrite(host, origpath, req) except Redirect, ex: return self.redirect(req, ex.location) request.uri.replace(origpath, path, 1)