# HG changeset patch # User Sylvain Thénault # Date 1305555933 -7200 # Node ID c2b29631c1a354edffea8974e74059f0f91a4b63 # Parent 69aa88765db5cf88dab2bda896a88e5d1d9412fc# Parent dc319ece0bd62f841e712df8133b38981b07d4de backport oldstable diff -r 69aa88765db5 -r c2b29631c1a3 web/views/urlrewrite.py --- a/web/views/urlrewrite.py Mon May 16 10:19:22 2011 +0200 +++ b/web/views/urlrewrite.py Mon May 16 16:25:33 2011 +0200 @@ -141,7 +141,8 @@ def build_rset(rql, rgxgroups=None, cachekey=None, setuser=False, vid=None, vtitle=None, form={}, **kwargs): - def do_build_rset(inputurl, uri, req, schema): + def do_build_rset(inputurl, uri, req, schema, kwargs=kwargs): + kwargs = kwargs.copy() if rgxgroups: match = inputurl.match(uri) for arg, group in rgxgroups: