From 25cbe149246aba58b5eba4c13dc67260f09d3862 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 26 Jun 2009 03:39:27 +0000 Subject: - Cause ``:segment`` matches in route paths to put a Unicode-decoded and URL-dequoted value in the matchdict for the value matched. Previously a non-decoded non-URL-dequoted string was placed in the matchdict as the value. - Cause ``*remainder`` matches in route paths to put a *tuple* in the matchdict dictionary in order to be able to present Unicode-decoded and URL-dequoted values for the traversal path. Previously a non-decoded non-URL-dequoted string was placed in the matchdict as the value. --- repoze/bfg/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repoze/bfg/url.py') diff --git a/repoze/bfg/url.py b/repoze/bfg/url.py index 7f505e659..12b86c786 100644 --- a/repoze/bfg/url.py +++ b/repoze/bfg/url.py @@ -29,7 +29,7 @@ def route_url(route_name, request, *elements, **kw): route_url('foobar', request, foo='1') => route_url('foobar', request, foo='1', bar='2') => route_url('foobar', request, foo='1', bar='2', - 'traverse='a/b) => http://e.com/1/2/a/b + 'traverse='a/b') => http://e.com/1/2/a/b If a keyword argument ``_query`` is present, it will used to compose a query string that will be tacked on to the end of the -- cgit v1.2.3