[Cubicweb] Custom URL rewriters

Sylvain Thénault sylvain.thenault at logilab.fr
Fri Nov 11 13:57:10 CET 2011


On 22 septembre 12:39, Nicolas Chauvat wrote:
> Hi,
> 
> On Fri, Sep 16, 2011 at 01:04:13PM +0200, Adrien Di Mascio wrote:
> > - a ``CallbackURLRewriter`` that maps a regexp to a callback
> >   to be called if the input url matches. In a way, it's only a
> >   generalization of the ``SimpleReqRewriter`` : instead of having
> >   a dict of properties that will update the request's form, it simply
> >   calls a callback with the input url, the request, and the
> >   regexp's MatchObject.
> 
> I needed something like that recently... so +1

go for a CWEP, ticket and a reference patch for implementation ?
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org




More information about the Cubicweb mailing list