I've used Catalyst for a couple of years now, but I'm just getting started with chained actions. Is it expected behaviour that arguments are not URI unescaped when using a chained action? They are when the action is Local or Global. This can be demonstrated with a couple of lines in a fresh Catalyst app:
in Root.pm: sub test_local : Local { my ( $self, $c, $arg1 ) = @_; $c->forward('/default'); } sub test_chain : Chained('/') PathPart('test_chain') Args(1) { my ( $self, $c, $arg1 ) = @_; $c->forward('/default'); } Testing: [info] Test powered by Catalyst 5.7007 You can connect to your server at http://localhost:3000 [info] *** Request 1 (0.333/s) [15101] [Wed Jul 18 12:03:52 2007] *** [debug] "GET" request for "test_chain/%5B%5Ea-z%5D/" from "127.0.0.1" [debug] Path is "/test_chain" [debug] Arguments are "%5B%5Ea-z%5D" [info] Request took 0.077649s (12.878/s) info] *** Request 2 (0.231/s) [15101] [Wed Jul 18 12:04:02 2007] *** [debug] "GET" request for "test_local/%5B%5Ea-z%5D/" from "127.0.0.1" [debug] Path is "test_local" [debug] Arguments are "[^a-z]" [info] Request took 0.150509s (6.644/s) Something I'm missing, or is this a bug? Todd -- Todd Holbrook Systems Consultant Simon Fraser University
_______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/