From: Fredrik Tolf Date: Fri, 9 May 2014 06:15:16 +0000 (+0200) Subject: Merge branch 'master' into python2 X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=commitdiff_plain;h=2b4cce75e1eb09715b27fa94b63484c0a6f5a032;hp=0d4c1b8b8da9e20c4bc9fb41ff1136283821b98e Merge branch 'master' into python2 --- diff --git a/wrw/util.py b/wrw/util.py index f70680e..92b441c 100644 --- a/wrw/util.py +++ b/wrw/util.py @@ -49,7 +49,9 @@ class funplex(object): p = p.partition("/")[0] bi = len(p) + 1 if p in self.dir: - return self.dir[p](req.shift(bi)) + sreq = req.shift(bi) + sreq.selfpath = req.pathinfo[1:] + return self.dir[p](sreq) raise resp.notfound() def add(self, fun):