@turbogears.expose()
    def default(self, *args, **kwargs):
        "Removes url case sensitivity (all lower)"
        if hasattr( self, args[ 0 ].lower() ):
            raise
cherrypy.HTTPRedirect(cherrypy.request.browserUrl.lower())
        return self.page_not_found()

Does any one know if its possible to create a url rewriter filter for
cherrypy? It would be nice if the framework could deal with such a
trival issue as url case sensitivity by simple setting a switch in the
config file.

Reply via email to