From e39ddf10c908d176915da23a6bd209e46815d3c0 Mon Sep 17 00:00:00 2001 From: Juliusz Gonera Date: Tue, 19 Apr 2011 11:21:19 +0200 Subject: replacement for torturous_route_re, inner squigglies work again --- CHANGES.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 3ae834d93..15ec0d8e0 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -64,6 +64,16 @@ Features Bug Fixes --------- +- URL pattern markers used in URL dispatch are permitted to specify a custom + regex. For example, the pattern ``/{foo:\d+}`` means to match ``/12345`` + (foo==12345 in the match dictionary) but not ``/abc``. However, custom + regexes in a pattern marker which used squiggly brackets did not work. For + example, ``/{foo:\d{4}}`` would fail to match ``/1234`` and + ``/{foo:\d{1,2}}`` would fail to match ``/1`` or ``/11``. One level of + inner squiggly brackets is now recognized so that the prior two patterns + given as examples now work. See also + https://github.com/Pylons/pyramid/issues/#issue/123. + - Don't send port numbers along with domain information in cookies set by AuthTktCookieHelper (see https://github.com/Pylons/pyramid/issues/131). -- cgit v1.2.3