Subject: | Catalyst::DispatchType::Regex::uri_for_action() is broken |
Date: | Wed, 17 Sep 2008 23:29:12 +0200 |
To: | bug-Catalyst-Runtime [...] rt.cpan.org |
From: | BUCHMULLER Norbert <norbi [...] nix.hu> |
It seems that the uri_for_action() implementation of
Catalyst::DispatchType::Regex is broken: it returns undef virtually
always. (The problem is that the inner loop did not stop after the last
parenthesized expression is processed.)
See the attached patch for a fix (also includes a test case).
norbi
Distribution: Catalyst-Runtime-5.7014
O/S: Debian GNU/Linux 4.0 (etch), Linux 2.6.18
Perl version: v5.8.8 (i486-linux-gnu-thread-multi)
Message body is not shown because sender requested not to inline it.