diff options
| author | Juliusz Gonera <jgonera@gmail.com> | 2011-04-19 11:21:19 +0200 |
|---|---|---|
| committer | Juliusz Gonera <jgonera@gmail.com> | 2011-04-19 11:21:19 +0200 |
| commit | e39ddf10c908d176915da23a6bd209e46815d3c0 (patch) | |
| tree | ab99d2ad24ed27c1e3409802b4630d0bb4f0e8a4 /CHANGES.txt | |
| parent | 623b526e76afa0cac2b878c3b3801dc071cc5f78 (diff) | |
| download | pyramid-e39ddf10c908d176915da23a6bd209e46815d3c0.tar.gz pyramid-e39ddf10c908d176915da23a6bd209e46815d3c0.tar.bz2 pyramid-e39ddf10c908d176915da23a6bd209e46815d3c0.zip | |
replacement for torturous_route_re, inner squigglies work again
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 10 |
1 files changed, 10 insertions, 0 deletions
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). |
