cubicweb/etwist/server.py
changeset 11725 904ee9cd0cf9
parent 11057 0b59724cb3f2
child 11767 432f87a63057
--- a/cubicweb/etwist/server.py	Thu Oct 20 18:28:46 2016 +0200
+++ b/cubicweb/etwist/server.py	Fri Oct 21 13:09:47 2016 +0200
@@ -134,12 +134,10 @@
             # XXX should occur before authentication?
             path = self.url_rewriter.rewrite(host, origpath, request)
             request.uri.replace(origpath, path, 1)
-        else:
-            path = origpath
         req = CubicWebTwistedRequestAdapter(request, self.appli.vreg, https)
         try:
             ### Try to generate the actual request content
-            content = self.appli.handle_request(req, path)
+            content = self.appli.handle_request(req)
         except DirectResponse as ex:
             return ex.response
         # at last: create twisted object